diff options
Diffstat (limited to 'dev-python/webencodings')
| -rw-r--r-- | dev-python/webencodings/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/webencodings/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-python/webencodings/webencodings-0.5.1-r1.ebuild | 26 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/webencodings/Manifest b/dev-python/webencodings/Manifest new file mode 100644 index 000000000000..25b9ea738528 --- /dev/null +++ b/dev-python/webencodings/Manifest @@ -0,0 +1 @@ +DIST webencodings-0.5.1.tar.gz 9721 BLAKE2B f62ee91cf0230f55bfbe9973a621bbaf3aa250f511b2e1e2c0c6db00bf52760bb058957040600cb33d6f9208987302a70783b04325be4ff344c428a43664290a SHA512 b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326 diff --git a/dev-python/webencodings/metadata.xml b/dev-python/webencodings/metadata.xml new file mode 100644 index 000000000000..a8c2c6e13e0f --- /dev/null +++ b/dev-python/webencodings/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="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">webencodings</remote-id> + <doc>https://pythonhosted.org/webencodings/</doc> + <maintainer status="unknown"> + <email>simon.sapin@exyr.org</email> + <name>Simon Sapin</name> + </maintainer> + <remote-id type="github">SimonSapin/python-webencodings</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/webencodings/webencodings-0.5.1-r1.ebuild b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild new file mode 100644 index 000000000000..007f25600ab4 --- /dev/null +++ b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild @@ -0,0 +1,26 @@ +# 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,7,8,9}} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Character encoding aliases for legacy web content" +HOMEPAGE="https://github.com/SimonSapin/python-webencodings https://pypi.org/project/webencodings/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest + +python_prepare_all() { + cat >> setup.cfg <<- EOF + [tool:pytest] + python_files=test*.py + EOF + distutils-r1_python_prepare_all +} |
