diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/d2to1 |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/d2to1')
-rw-r--r-- | dev-python/d2to1/Manifest | 5 | ||||
-rw-r--r-- | dev-python/d2to1/d2to1-0.2.12_p1.ebuild | 41 | ||||
-rw-r--r-- | dev-python/d2to1/metadata.xml | 17 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/d2to1/Manifest b/dev-python/d2to1/Manifest new file mode 100644 index 000000000000..a64d250a1ff5 --- /dev/null +++ b/dev-python/d2to1/Manifest @@ -0,0 +1,5 @@ +DIST d2to1-0.2.12.post1.tar.gz 35973 SHA256 49ef2d16862b3efdc81fc5c32eac373b984945cde5fc02bb01a0a11ff03dd825 SHA512 89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d WHIRLPOOL 4470129450781e8fdb17bfecb4354f80215ae72216f3d903bb94099bcd361638bf38bc8e3d29f4ae1bae1b6c09daa8a09e870371469745fac424f7ad5e32e2bb +EBUILD d2to1-0.2.12_p1.ebuild 904 SHA256 3d267ad6e1a9a9f12091a6cd9669aaeaef9a9b61af1400ecc1759523101949a9 SHA512 98dc5ae61a5e7faa8817fdd30b02f9dbd7320528af715d3d1006b74ff82bdae11bcd482ba2223e87cfe66c413c4711cf3f2b1f2189f286256b787750806c352e WHIRLPOOL b0c5d20e53948240a32a5a4eabb9a70fc359306979056a049796edfd7201aec0323f355f039585e03232f7fa6bc91f6766fdd656d5740697d4bdf7fe44ad4566 +MISC ChangeLog 3704 SHA256 304aa394dfecef9e676a91a2901391c4647abdab4014216cde46d039e0ff6b04 SHA512 bfca3c11b06dfd3687274c6c47a1b0aefa3daedc7e9cb44415f61bb529e0c77647a17d18e4405353bfe1d91225089244e4e59773970dcba3546296ca2fa9e9d8 WHIRLPOOL eb0190794cb7312da4f0395f800f400387834b0f034bddf96b389ca09c966b215877ffdecdc6175ec581bff5e095814fa97345498d35f636d4221ad83144c39f +MISC ChangeLog-2015 2126 SHA256 0d08bfed20bf39ace868fa244eb933d4268f1d3cf69c6d1c97d6fefb8aa8c19d SHA512 4f437ff891b8a124d246a7da0b161b9c3e102adbd42d54ba0a0fad792f246ed11b98783e326f8c08d745d835f9ff8a494912c3d74faffaa7e7f1e66a62089f37 WHIRLPOOL a4a9c0d5cd5f21cbfee0c66357a97a1ac640e944869bbdf8e0639d7e68d1d5f20b0ae73d0161990284bb58662fbc153cac2412847bf11a2ee18bfa0712665fd1 +MISC metadata.xml 734 SHA256 3b3194b5b6077d586dc9465a00f5ccc4fe29e895a3b9d15e1c3baabc246296e1 SHA512 b31816f24d91b5eca6cd55019cbb9442e33b110f35899d0a6b1118b4611d80d2914e2242ed62ef4154a499cb33b5f1866b17eadb5c4b9d1505d3d6cb226fd02b WHIRLPOOL a1b7d89f8648f0af77da319f92c952ccbc6848a7f575c3aff732512a001dc1188bf95cb44e9a8912430d6e76580757f5a074227dfbb4de02868859d59ec4dfb1 diff --git a/dev-python/d2to1/d2to1-0.2.12_p1.ebuild b/dev-python/d2to1/d2to1-0.2.12_p1.ebuild new file mode 100644 index 000000000000..070e6c3ae51e --- /dev/null +++ b/dev-python/d2to1/d2to1-0.2.12_p1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +MY_P="${P/_p/.post}" + +DESCRIPTION="Allows using distutils2-like setup.cfg files for a package metadata" +HOMEPAGE="https://pypi.python.org/pypi/d2to1 https://github.com/embray/d2to1" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}]" + +S="${WORKDIR}"/${MY_P} + +python_prepare_all() { + rm ${PN}/extern/six.py || die + cat > ${PN}/extern/__init__.py <<- EOF + import six + EOF + sed \ + -e 's:.extern.six:six:g' \ + -i ${PN}/*py || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} diff --git a/dev-python/d2to1/metadata.xml b/dev-python/d2to1/metadata.xml new file mode 100644 index 000000000000..55a860b4f781 --- /dev/null +++ b/dev-python/d2to1/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription>d2to1 (the 'd' is for 'distutils') allows using distutils2-like + setup.cfg files for a package's metadata with a distribute/setuptools + setup.py script. It works by providing a distutils2-formatted setup.cfg + file containing all of a package's metadata, and a very minimal setup.py + which will slurp its arguments from the setup.cfg.</longdescription> + <upstream> + <remote-id type="pypi">d2to1</remote-id> + <remote-id type="github">embray/d2to1</remote-id> + </upstream> +</pkgmetadata> |