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/colander |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/colander')
-rw-r--r-- | dev-python/colander/Manifest | 5 | ||||
-rw-r--r-- | dev-python/colander/colander-1.3.1.ebuild | 56 | ||||
-rw-r--r-- | dev-python/colander/metadata.xml | 11 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/colander/Manifest b/dev-python/colander/Manifest new file mode 100644 index 000000000000..fe53454add44 --- /dev/null +++ b/dev-python/colander/Manifest @@ -0,0 +1,5 @@ +DIST colander-1.3.1.tar.gz 119999 SHA256 48bdbb5e8f50fcf2f05aab6bb2c0ab58d6ec7eed81a72b7d0272744fe72fafc2 SHA512 0aa9063e6f88ef63b5378cd93d3b121c8323e4632dcff31f143d2ee6dd33edb93a7fedfa06ca250288f7bc194a534f1027b89c9c6cc92765cf4348709e539da5 WHIRLPOOL 2fc505646f21d0519cfef99665e168eba6e3b47f875b27f183d75f5abb474e227022fed2a196d7ef41ba79ec81e27720a2ad39134731fc55010ba7a70bca3cf8 +EBUILD colander-1.3.1.ebuild 1533 SHA256 abca3cc9d210ed20fc305c451d6346d0a695f5bd20560a4d301dd86485576247 SHA512 eda1324b47b2bc1bd4309dd25b35c714d3c81af746e61ade6b8695dd8878f23328992f9e773d835984fc55168765225fa5d50ffcc8bf8913df4da5e830b13d50 WHIRLPOOL 70db95a6814d8c97ecd4d44c921f66a8e9312dd9de7ca395c78bf220b87f11ddbbc8be7f72b9cc53c568e47a7f431d0907c9cc5987c084c57a46ef440dd58063 +MISC ChangeLog 3011 SHA256 a1cd23a834ee03abe158c638d6164898f9e3721e30389bba9fca0ca83b010232 SHA512 09b5942808467f97a6f6c1e8e897c38abd9c04eab50ac0bf3d58a7cfb98cd632fd101ffc157b98456cde9e13973ee2f3619c205671671b7f405c620339455474 WHIRLPOOL 7c9737ab1ede4dab39bf8420707b558cb9f116e31326c908e15add45775bf7fd8f9b3a4951a4413c5dd4e9ccee457e524c2b02ee1960608e0fad062de3492653 +MISC ChangeLog-2015 2421 SHA256 1daf24f0e2a7b57ca900766b1f52d56735d75f82edeed6e5426f5b56eaa914ab SHA512 a7a4b0751ba0fd7aa41bc3ed53518094961dc4e91c8f34dd83f0557576745182271bd4b802a91930f53ebd73b2abcd05aa552d0e33e3e08241f819e312dcfc98 WHIRLPOOL 808fe47c502f46dc7db66dd1df2f77a4ab02abb05f6c1339db53fb2b6d4c735b9b483956f4389d4934085bd590a6f66c5280f019d6d62290d2116e818142bdaa +MISC metadata.xml 311 SHA256 f72279c7fa423c1597366facb719bf50742c42c97d8a0795bfad64129cc09b49 SHA512 c0fe889c10d25c88c37e781c6e355c51f1c2c24615d616170da287c6bce490f6cd6b501a783c5a4e98f7c00c945fb686e066422271d5f43495c5c68e459c7f7f WHIRLPOOL 0d3e0cb279d78008fa3369a77cb3ac4f75225fac5ba48ffe2359b5d2c9005c8cf4ae7dab8eb5db735148453a4b6674ad3d503bfab52f3390564aa3595babcbe5 diff --git a/dev-python/colander/colander-1.3.1.ebuild b/dev-python/colander/colander-1.3.1.ebuild new file mode 100644 index 000000000000..89b151c03bed --- /dev/null +++ b/dev-python/colander/colander-1.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A simple schema-based serialization and deserialization library" +HOMEPAGE="http://docs.pylonsproject.org/projects/colander/en/latest/ https://pypi.python.org/pypi/colander" +MY_P=${P/_beta1/b1} +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +# MIT license is used by included (modified) iso8601.py code. +LICENSE="repoze MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc test" + +# Depend on an ebuild of translationstring with Python 3 support. +RDEPEND=">=dev-python/translationstring-1.1[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] )" + +# Include COPYRIGHT.txt because the license seems to require it. +DOCS=( CHANGES.rst COPYRIGHT.txt README.rst ) + +python_prepare_all() { + # Remove pylons theme since it's not included in source + sed -e "/# Add and use Pylons theme/,+37d" -i docs/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + # https://github.com/Pylons/colander/issues/38 + emake -C docs html SPHINXOPTS="" + fi +} + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/colander/metadata.xml b/dev-python/colander/metadata.xml new file mode 100644 index 000000000000..bef772ba1b90 --- /dev/null +++ b/dev-python/colander/metadata.xml @@ -0,0 +1,11 @@ +<?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">colander</remote-id> + </upstream> +</pkgmetadata> |