diff --git a/dev-python/rfc3987/Manifest b/dev-python/rfc3987/Manifest new file mode 100644 index 0000000000000..de435ba8f0153 --- /dev/null +++ b/dev-python/rfc3987/Manifest @@ -0,0 +1 @@ +DIST rfc3987-1.3.5.tar.gz 8509 SHA256 ed37b839553370971a1d5cd53392206206c56ea550d435ef45e6d94e7df50697 SHA512 66d74daa1653e9dfa0d8968229baa865935a8bf633504171ba9b208fddc936402184bce20828cbe90fec787a941faad0224675cd1db555cf614bfe83dca6b3f7 WHIRLPOOL 4a2b93e0c0437c835be38814ed1d8672530e19dc099bd0f0a340ba87ca55d2632239eb63cfc72586538ec813f37e79d13cae740a3a812110152833a9197b0db5 diff --git a/dev-python/rfc3987/metadata.xml b/dev-python/rfc3987/metadata.xml new file mode 100644 index 0000000000000..1f3c7f977ac94 --- /dev/null +++ b/dev-python/rfc3987/metadata.xml @@ -0,0 +1,16 @@ + + + + + aballier@gentoo.org + Alexis Ballier + Python team can take the package if they wish. + + + python@gentoo.org + Python + + + rfc3987 + + diff --git a/dev-python/rfc3987/rfc3987-1.3.5.ebuild b/dev-python/rfc3987/rfc3987-1.3.5.ebuild new file mode 100644 index 0000000000000..894306e4beead --- /dev/null +++ b/dev-python/rfc3987/rfc3987-1.3.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" +HOMEPAGE="https://github.com/dgerber/rfc3987 http://pypi.python.org/pypi/rfc3987" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +python_test() { + ${EPYTHON} -m doctest -v "${S}/${PN}.py" || die +}