dev-python/webencodings: version bump to 0.5.1
authorZac Medico <zmedico@gentoo.org>
Thu, 4 May 2017 17:04:43 +0000 (10:04 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 4 May 2017 17:13:45 +0000 (10:13 -0700)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/webencodings/Manifest
dev-python/webencodings/webencodings-0.5.1.ebuild [new file with mode: 0644]

index 1065ef55e6b1ba5e9f4acdfc14d6b47122e472cb..b42a2bb99fb72dc112e1402aa331a6babac417dd 100644 (file)
@@ -1 +1,2 @@
+DIST webencodings-0.5.1.tar.gz 9721 SHA256 b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923 SHA512 b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326 WHIRLPOOL 54d53eec2bc19d2fe1aae8f3cc7fc17d70026a200cca3b3b90f1f4c48ac183d22113f4070a8d2feb5c6f6f2693ab161cc3750f3b448c91f3ef243ee4fb03ead4
 DIST webencodings-0.5.tar.gz 9479 SHA256 a5c55ee93b24e740fe951c37b5c228dccc1f171450e188555a775261cce1b904 SHA512 3f0c1995d23a8ccf8f0b02301edec5834336c27b7daf2335ded888073a1f13058acd93477cd020bb2b12d51b393d9b3166acf4995564cb9751ace8df35a891c2 WHIRLPOOL 72865b86c152e6a43ab1c64e127055629dbfc8419e46b3647c94ff75e55cad3b446bd0951979fa2b39daa847e1cf9e64b4a54ea11bc494b85c4a6b747857cdb1
diff --git a/dev-python/webencodings/webencodings-0.5.1.ebuild b/dev-python/webencodings/webencodings-0.5.1.ebuild
new file mode 100644 (file)
index 0000000..0cf7fc3
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Character encoding aliases for legacy web content"
+HOMEPAGE="https://github.com/SimonSapin/python-webencodings http://pypi.python.org/pypi/webencodings"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )"
+
+python_prepare_all(){
+       cat >> setup.cfg <<- EOF
+       [pytest]
+       python_files=test*.py
+       EOF
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       py.test -v -v || die
+}