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/path-py |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/path-py')
-rw-r--r-- | dev-python/path-py/Manifest | 5 | ||||
-rw-r--r-- | dev-python/path-py/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/path-py/path-py-8.1.2.ebuild | 40 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/path-py/Manifest b/dev-python/path-py/Manifest new file mode 100644 index 000000000000..33d83dad78ff --- /dev/null +++ b/dev-python/path-py/Manifest @@ -0,0 +1,5 @@ +DIST path.py-8.1.2.tar.gz 33437 SHA256 ada95d117c4559abe64080961daf5badda68561afdd34c278f8ca20f2fa466d2 SHA512 639b6247d99bd7c88e7505f5f41a5896266f23c0517b470ea5c1ec90ca76e87f1971babee623bbd7bea57bbef5f7677a7163bc51bae78c3c54e978eaf7f122d1 WHIRLPOOL 4c71bde2b05ee863f7a7b06313d698463247427ff203bdc6e95c89f8e43e3e42744882b7045103ef56cc2535f595aae9b48ff41efd86ee704bd2063103ca98a4 +EBUILD path-py-8.1.2.ebuild 953 SHA256 90fff9efe21ee1315f307fb89197e4bb0ae3091be8ecc0289a2fb49187956418 SHA512 7ab7497deeb0454aa0816382d12ff25ab580519a5f9780fbe948c633b55eb3c49459ed47a8b1790761337bec3f5221f32e886110239513ee906a6f9157492700 WHIRLPOOL 20f6492168fe95f97203df541817bdba12e1fec698bd3ca692eac17b6021bf6794bd2cbd079dbdb2c07682a38dc1e25133a6b1e79231b9afb709f160b4112894 +MISC ChangeLog 6756 SHA256 ba80e37e178fc92075d6edc71a70f4f8957249a6148a66c0821911ee9e94c529 SHA512 6e584714c73a1ee60f69d2a3dd56968f23304181046c4f894a530d7a5a33cc565dc99d5f6e92eb32db38f78d50605bc76fc91215585a3598e8267b7c11aa2ccb WHIRLPOOL 234e58aeee643126ed8a5e8428151c6260e74b8a1ae6faedc2bf131031dccdde3e7e6dcebc686333ffe9b68c85e4ddb9609ea259c6135c120c5c7eae6cd8e979 +MISC ChangeLog-2015 1168 SHA256 3166537cc2c40038c8e9eb53ca65bcc728db5be082a1b2ea6b4a42e2c47f46da SHA512 29fbc6f0994c5f38feaf1713d4adbd91209dbfa9dd8a675f5def7dc1df2cc826b6f23b4e82d6743d2186afc713292d5c718f65fb8168aece93fb4899249aa900 WHIRLPOOL cdf771fc996569743a9a463d96624799d4189dbb1f40446e667956eab156dd499802f0cf73b7c8de35588717ac28852f9c18cc1cc6a99be731e8ab9086ce7bbe +MISC metadata.xml 376 SHA256 fcc00f70918f4440a78110995e08277224425d8ce999a6d6fb1906b3c4df23f5 SHA512 6273623109e7f816ecf729a7dd65ae21b0f69049343ad49b6d439312512324aa94f2d5764e2248690718a57a24a50babcf2f29813c4d45f58eef44c9f14cb9bd WHIRLPOOL ccfbc2921a9facbc2fcc5104b6e31af7f67d1b3c1cd24f462297d1224a6c4497a9c8c0e17dd46fbf02717d1fd2cadfca7b0ae0fe8af46721b57b533dc1ddf365 diff --git a/dev-python/path-py/metadata.xml b/dev-python/path-py/metadata.xml new file mode 100644 index 000000000000..e51461af9e0f --- /dev/null +++ b/dev-python/path-py/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">path.py</remote-id> + <remote-id type="github">jaraco/path.py</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/path-py/path-py-8.1.2.ebuild b/dev-python/path-py/path-py-8.1.2.ebuild new file mode 100644 index 000000000000..ec8477569e35 --- /dev/null +++ b/dev-python/path-py/path-py-8.1.2.ebuild @@ -0,0 +1,40 @@ +# 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,6} pypy{,3} ) + +inherit distutils-r1 + +MY_P="path.py-${PV}" + +DESCRIPTION="A module wrapper for os.path" +HOMEPAGE="https://pypi.python.org/pypi/path.py https://github.com/jaraco/path.py" +SRC_URI="mirror://pypi/p/path.py/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + sed '/setuptools_scm/d' -i setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # https://github.com/jaraco/path.py/issues/122 + unset XDG_CONFIG_HOME + esetup.py test +} |