diff options
Diffstat (limited to 'dev-python/rfc3987')
| -rw-r--r-- | dev-python/rfc3987/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rfc3987/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-python/rfc3987/rfc3987-1.3.8-r1.ebuild | 24 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/rfc3987/Manifest b/dev-python/rfc3987/Manifest new file mode 100644 index 000000000000..f754806f3859 --- /dev/null +++ b/dev-python/rfc3987/Manifest @@ -0,0 +1 @@ +DIST rfc3987-1.3.8.tar.gz 20700 BLAKE2B 0662a5f376680a18eb58c76b5d1d4df653f62df7175f8c3f828cf8a410f900ba8feb81faf4ce40fabeecb74047e6b1542e170fba946d3189b18c553f16eda1e4 SHA512 0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c diff --git a/dev-python/rfc3987/metadata.xml b/dev-python/rfc3987/metadata.xml new file mode 100644 index 000000000000..c3b1d7f3986d --- /dev/null +++ b/dev-python/rfc3987/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + <description>Python team can take the package if they wish.</description> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">rfc3987</remote-id> + <remote-id type="github">dgerber/rfc3987</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/rfc3987/rfc3987-1.3.8-r1.ebuild b/dev-python/rfc3987/rfc3987-1.3.8-r1.ebuild new file mode 100644 index 000000000000..2dc8f162d241 --- /dev/null +++ b/dev-python/rfc3987/rfc3987-1.3.8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6..9}} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" +HOMEPAGE="https://github.com/dgerber/rfc3987 https://pypi.org/project/rfc3987/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_test() { + ${EPYTHON} -m doctest -v "${S}/${PN}.py" || die +} |
