diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-23 14:41:43 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-23 14:41:43 -0800 |
commit | b57c8664fd5a16940ffc1e869c58127f7e33086a (patch) | |
tree | c112c86d42fc4808f8cbd70e2df6f61da3e9f649 /dev-python/rfc3986-validator | |
parent | dev-python/rfc3987-1.3.8-r1: actually add py38 (diff) | |
download | gentoo-b57c8664fd5a16940ffc1e869c58127f7e33086a.tar.gz gentoo-b57c8664fd5a16940ffc1e869c58127f7e33086a.tar.bz2 gentoo-b57c8664fd5a16940ffc1e869c58127f7e33086a.zip |
dev-python/rfc3986-validator: New package
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/rfc3986-validator')
-rw-r--r-- | dev-python/rfc3986-validator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rfc3986-validator/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/rfc3986-validator/rfc3986-validator-0.1.1.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/rfc3986-validator/Manifest b/dev-python/rfc3986-validator/Manifest new file mode 100644 index 000000000000..e280a2ff5aa3 --- /dev/null +++ b/dev-python/rfc3986-validator/Manifest @@ -0,0 +1 @@ +DIST rfc3986_validator-0.1.1.tar.gz 6760 BLAKE2B e54b54c296310043f67a1187a110c6a34423f79a73dc64898d6d11d03eaca213b38da4722640595994bdd459bc1bc12c326d2e1f731e1846cdd723e232408e8b SHA512 b679e3c1b38d9ecc633d7d9a7179711d5adc50d38a51f28972f668e098058b92ec9f69e947fab7eaa3863377f35c3f13e5fd1ae35da2175a01170f2940360c2f diff --git a/dev-python/rfc3986-validator/metadata.xml b/dev-python/rfc3986-validator/metadata.xml new file mode 100644 index 000000000000..3a6387e94f0e --- /dev/null +++ b/dev-python/rfc3986-validator/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> + </maintainer> + <upstream> + <remote-id type="pypi">rfc3986-validator</remote-id> + <remote-id type="github">naimetti/rfc3986-validator</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1.ebuild new file mode 100644 index 000000000000..7931e4b13427 --- /dev/null +++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) + +inherit distutils-r1 + +# 0.1.1 isn't tagged on GitHub +COMMIT_HASH="ee3dcca0df300e0584e129a4ab81828be002684b" +MY_PN="${PN//-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Pure python RFC3986 validator" +HOMEPAGE="https://pypi.org/project/rfc3986-validator/ https://github.com/naimetti/rfc3986-validator" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/rfc3987[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove dep on pytest-runner + sed -i -r "s:('|\")pytest-runner('|\")(,|)::" setup.py || die + distutils-r1_python_prepare_all +} |