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/anyjson |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/anyjson')
-rw-r--r-- | dev-python/anyjson/Manifest | 5 | ||||
-rw-r--r-- | dev-python/anyjson/anyjson-0.3.3-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/anyjson/metadata.xml | 12 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/anyjson/Manifest b/dev-python/anyjson/Manifest new file mode 100644 index 000000000000..b45a905c36a6 --- /dev/null +++ b/dev-python/anyjson/Manifest @@ -0,0 +1,5 @@ +DIST anyjson-0.3.3.tar.gz 8332 SHA256 37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba SHA512 9e70df3cb8bfe2348fdb0eb03cf3c33ca5a1171aca6467787fc28c161354b5ebe89b2f73badfa00708774d6825799860493ddcac7f5da8cc9c251b92b5a343bc WHIRLPOOL 9a17b6296ddf6359c217a7deea989a6dd3c07c2f11125f934c5c4325a909b9a923c08b03fd49a96c30df8ed06c81cdba54ae5391240c7d288edaafb9c44b50a7 +EBUILD anyjson-0.3.3-r1.ebuild 956 SHA256 26d0fd47f04c483486048d580cd2c775989a56606739e90841bc30c083efcdfd SHA512 4b4503f4babd9007132ee36f2fbf7e82f3e94abdd7bae179d6a0a6bb82dac967b5e78b7209dfc03567e41d3d978455999340f50aefdfd2194d40196f05726c85 WHIRLPOOL 7f912088c5c90a95a03bd3f34ca8108b60e404e7d3757e0bb1f8991afcb468e02d0a4b5fd4df9219b5c88d80107df20a1fb213b735ee4c81eaa9b42ae74af71e +MISC ChangeLog 3003 SHA256 507ed1d466963423b12ee6e29f30efd351e99f13f931cc8e49fd2ac1f8e62fe9 SHA512 971b5c8e8ef2d2d0eef9f5f9ddf92f07e23a3abf84d85d8f08b6889ab8076caf588363a64b5bb77cdfdecb2530bf0c1ececc8c7e385cc523f3158c66831c3f1e WHIRLPOOL 2a99ddf96fe877a75faea7fa43ba1d1a93563cde8540dd65936d086e86365aeb61c9e99c8ea0b05826a2a7301cda36f2b4293903a0d962dd291052d98d9b0c5d +MISC ChangeLog-2015 2437 SHA256 fd85ee2af04f9c12461234693ff227fa139d1f1e3fcbe381b028cc76b41e0a01 SHA512 b0c93d6b5805a39c6dae8fa410eab5136f57f2f8505fb1e1e1dc179e1d081ac006cae0985fc7b766ea0d47f821605c549ff3f8a3431272f93a1ae0fd3683d4ae WHIRLPOOL eb17ae79b88593b3e7f2bb068f6eeb6b1f5999bfeecf1e9085369cb7a1b7868feefb2067c939544fe588f109ebf57319fb5e9f9c6252d788c2a2a47cb138a3ff +MISC metadata.xml 378 SHA256 bef5db4b89dab7992966a55977959f57327d8cf9a308aea2e9881970227e1f42 SHA512 51bd7728ffa457fe04c22c66f497e5cbc1cbad3ead97525a8b443616801338d49100d77d57c33eca873fff567e86ba73e319d66c9d117e246bdebd36d30cab0e WHIRLPOOL 135ea18de83a09228961992d732bde8bafd0dc940f3aec0a0ecdb1cdfab553fa3d7765e7d241d02abf270acf95f456ade4b932a29a3598949ae1f25745851b9d diff --git a/dev-python/anyjson/anyjson-0.3.3-r1.ebuild b/dev-python/anyjson/anyjson-0.3.3-r1.ebuild new file mode 100644 index 000000000000..f616e72b6266 --- /dev/null +++ b/dev-python/anyjson/anyjson-0.3.3-r1.ebuild @@ -0,0 +1,35 @@ +# 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 ) + +inherit distutils-r1 + +DESCRIPTION="Wraps the best available JSON implementation available in a common interface" +HOMEPAGE="https://bitbucket.org/runeh/anyjson" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test" + +# please keep all supported implementations in 'test?' +# to make sure the package is used in the widest way +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/simplejson[$(python_gen_usedep 'python2*' python3_3 'pypy*')] + )" + +python_test() { + cp -r -l tests "${BUILD_DIR}" || die + if [[ ${EPYTHON} == python3* ]]; then + 2to3 -w --no-diffs "${BUILD_DIR}"/tests || die + fi + + nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/anyjson/metadata.xml b/dev-python/anyjson/metadata.xml new file mode 100644 index 000000000000..f0196f208881 --- /dev/null +++ b/dev-python/anyjson/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">anyjson</remote-id> + <remote-id type="bitbucket">runeh/anyjson</remote-id> + </upstream> +</pkgmetadata> |