summaryrefslogtreecommitdiff
path: root/dev-python/wurlitzer
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/wurlitzer')
-rw-r--r--dev-python/wurlitzer/Manifest2
-rw-r--r--dev-python/wurlitzer/wurlitzer-2.1.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/wurlitzer/Manifest b/dev-python/wurlitzer/Manifest
index 77f1ac446fcf..8c1eccf4f75c 100644
--- a/dev-python/wurlitzer/Manifest
+++ b/dev-python/wurlitzer/Manifest
@@ -1,3 +1,5 @@
DIST wurlitzer-2.0.1.tar.gz 10638 BLAKE2B e5350a3920ae072f93a0043ec368766d8e190558b3e897e68b272b06d0d6ff7907f2aeecfd41a99b54804a596ad9f7d7062995a5c465724a2b87419ee801daa3 SHA512 06f67b666c2a364b5ee497fa2f0ab8640aeb2953b678e35b13e1558ab29bc5554f479731f9942d8f033275f5151bb9f86408e0f04b1120bae0f29b27649d783c
+DIST wurlitzer-2.1.0.tar.gz 8788 BLAKE2B 9a9e9696446fe31f0ff392eee011f341ee24c102e4e6bac195586b764386d1a835567560306cd3cb6e942b539a57ffa15aa9b3a20fac9224311ed7301130c84d SHA512 cc7291786b0505627129619094218f51c0679c0c3550645af3b94bdd3f10afd5fc8402d89dcb599d874a5c9e4f4966dc49a6f98a1ab0e2bb9adbc3f95d4fcc6a
EBUILD wurlitzer-2.0.1.ebuild 567 BLAKE2B 226ea4df6f1c673a0a1c8a7c07273358d1a08605d09f46c1991d773a1d97b9a3c267185cb2603d70e8dd4b1b7fe35ea15793564f50069e8a67b5a9a0354b45d1 SHA512 dd96836c083d3e107ff11786a0484f6c27d315aada50b0a2e5bc993eee7b838c02447282b9ae50b6f955d7ed580a0f9290e0afb2669d14358256fc3f6b68b13e
+EBUILD wurlitzer-2.1.0.ebuild 612 BLAKE2B 2f702743fe9977a6963d487814f4c1e78cc55e87fe5909a59b2ca9b8b7336fdefa5c7587d75b6f9a07bff3b74920cde0eb3b9cd90537f6871a6cae092c368150 SHA512 9e095c142ab71a9ac67b9d429c8bd8b1492c10eb71e2947d0784e55b6a2dc0f5f12dac31a32a55119837402fce32e521ec0c23a94af9d80a008bb6bd6fc48301
MISC metadata.xml 532 BLAKE2B 259f964c223a5889699b49d49bc6152f6febaf6abbb5ec05187917b028c53f77cea4a48f7c57fbbc519a137ea6e72ee69368c46de5fc52cef7dfe9297abfaccb SHA512 8671caa64f777b76b176b686c6fafa6a0921f916d02de6a83e0229cfa9b5da8e8da8c1686413babc0d9b68894d529d2b8278579af1f99ee709f22d92f2cdc45e
diff --git a/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild
new file mode 100644
index 000000000000..823423a2e8ee
--- /dev/null
+++ b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Capture C-level stdout/stderr in Python"
+HOMEPAGE="
+ https://github.com/minrk/wurlitzer/
+ https://pypi.org/project/wurlitzer/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # things usually work better without typos
+ sed -i -e 's:unitest:unittest:' test.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ epytest test.py
+}