diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/d2to1 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/d2to1')
-rw-r--r-- | dev-python/d2to1/Manifest | 3 | ||||
-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, 61 insertions, 0 deletions
diff --git a/dev-python/d2to1/Manifest b/dev-python/d2to1/Manifest new file mode 100644 index 000000000000..cc58c8aa1ee5 --- /dev/null +++ b/dev-python/d2to1/Manifest @@ -0,0 +1,3 @@ +DIST d2to1-0.2.12.post1.tar.gz 35973 BLAKE2B 19cc191b18168cdbe291235eeb7d0a6f9c9ad9e049c91a337541903ee39c0f1b247bc966c311bd703ddf0283b33fa0a2dc09ec5ba78cd694bc9cdee17c625575 SHA512 89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d +EBUILD d2to1-0.2.12_p1.ebuild 903 BLAKE2B 796d8cac6074f8f6083adfcd3cd571621609639b7b86a14b0b84b1afefe76834b9611e7e752a8e303786051cf9a9cd623d5a6631604d1ecd7c76ae8803ac831d SHA512 d4af68ed38050579fc69d14088320133ea81a991ad45104d218dc1c89ac136cda4a4b996542d9c474b71559c888df0d63c742c907fb00d878b2c5c41c7711e13 +MISC metadata.xml 734 BLAKE2B 58eadaeefacc91862709b46bd127e5c863da57460458d8a98108a260d97a74b96898b4d87dfc45b34410d6288bf0f42e6043c13484d83c04e7d265c8b6c8f1b5 SHA512 b31816f24d91b5eca6cd55019cbb9442e33b110f35899d0a6b1118b4611d80d2914e2242ed62ef4154a499cb33b5f1866b17eadb5c4b9d1505d3d6cb226fd02b 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..8d555a022c0a --- /dev/null +++ b/dev-python/d2to1/d2to1-0.2.12_p1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +MY_P="${P/_p/.post}" + +DESCRIPTION="Allows using distutils2-like setup.cfg files for a package metadata" +HOMEPAGE="https://pypi.org/project/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> |