diff options
Diffstat (limited to 'dev-python/serpent')
-rw-r--r-- | dev-python/serpent/Manifest | 3 | ||||
-rw-r--r-- | dev-python/serpent/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/serpent/serpent-1.19.ebuild | 26 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/serpent/Manifest b/dev-python/serpent/Manifest new file mode 100644 index 000000000000..6df31b2bf535 --- /dev/null +++ b/dev-python/serpent/Manifest @@ -0,0 +1,3 @@ +DIST serpent-1.19.tar.gz 12055 BLAKE2B 1adf86abf58b4afb82a9d2ee3b8fff4107f3e1cd383a33359687b80b2b917ec1af8f15cb5b849c0979035daecf2aaaf1230553a478e59480f160d8df456b5fd2 SHA512 9adac06bb63dfa73ca0043a3ddf868e0afebc81ff7d637e41667314cbe8e0ecb2af807db6c60f5a5a6a6ff8fa11ac42063d83a7376c7e8bcac22abfd3ba5b1dd +EBUILD serpent-1.19.ebuild 609 BLAKE2B 2ec2c774c7cec4f906e22846d9a1313347819dc2f11ebdc1213fee9e3add816f1fe7aff561c347db2fdfaab6644204a219d59bad45d576d62ec4a822edcde22e SHA512 94010f21dec414e15c977f3c091a90c144879a50f7600788f3f118c8bccb1760a35f53842ac4bc543bceab5b3658f794b3ca0114f4b26b0583fb9834f5426a3b +MISC metadata.xml 363 BLAKE2B f40df45db2fe2c0b0a35e6a9554ea3d39f25575e6e83dce3fb235a72bd1cfc3bd07bb106661470fe3f01f79bcae06d0e70ac8213cffbc9119bdbf4a3c4475eda SHA512 c0ecbe2e072730e43679dd09334c4fa300c1660a740cdb7071d6d87f112c25493b169f0ca7c5a99fe4a978a8d81f87a409519170cbb69430994f16a8bb193500 diff --git a/dev-python/serpent/metadata.xml b/dev-python/serpent/metadata.xml new file mode 100644 index 000000000000..c33560679134 --- /dev/null +++ b/dev-python/serpent/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">serpent</remote-id> + <remote-id type="github">irmen/Serpent</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/serpent/serpent-1.19.ebuild b/dev-python/serpent/serpent-1.19.ebuild new file mode 100644 index 000000000000..3f421d934eea --- /dev/null +++ b/dev-python/serpent/serpent-1.19.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A simple serialization library based on ast.literal_eval" +HOMEPAGE="https://pypi.org/project/serpent/ https://github.com/irmen/Serpent" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ppc ppc64 x86" +IUSE="" + +# not bundled +RESTRICT="test" + +python_test() { + pushd "${S}"/tests >/dev/null || die + ${PYTHON} -bb test_serpent.py || die + popd >/dev/null || die +} |