[arch-commits] Commit in python-iocapture/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 08:10:18 UTC 2020
Date: Tuesday, November 10, 2020 @ 08:10:17
Author: foutrelis
Revision: 749420
archrelease: copy trunk to community-staging-any
Added:
python-iocapture/repos/community-staging-any/
python-iocapture/repos/community-staging-any/PKGBUILD
(from rev 749419, python-iocapture/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-iocapture/repos/community-staging-any/PKGBUILD (from rev 749419, python-iocapture/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 08:10:17 UTC (rev 749420)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-iocapture
+pkgver=0.1.2
+pkgrel=7
+pkgdesc="Capture stdout, stderr easily"
+arch=('any')
+license=('MIT')
+url="https://github.com/oinume/iocapture"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-flexmock' 'python-pytest-cov' 'python-six')
+source=("https://github.com/oinume/iocapture/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1205d13b107d83dcb45d5546038d8b0b5417a20a51149c405123111488c351ff81a447f10653cd3dd9ecc236e01a0fcceb6647091e38ff2fa34c69e0baff1567')
+
+build() {
+ cd iocapture-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd iocapture-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd iocapture-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list