From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/webencodings/Manifest | 1 + dev-python/webencodings/metadata.xml | 19 ++++++++++++++++ .../webencodings/webencodings-0.5.1-r1.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-python/webencodings/Manifest create mode 100644 dev-python/webencodings/metadata.xml create mode 100644 dev-python/webencodings/webencodings-0.5.1-r1.ebuild (limited to 'dev-python/webencodings') 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 @@ + + + + + python@gentoo.org + Python + + + + webencodings + https://pythonhosted.org/webencodings/ + + simon.sapin@exyr.org + Simon Sapin + + SimonSapin/python-webencodings + + gentoo-staging + 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 +} -- cgit v1.3.1