[arch-commits] Commit in python-iocapture/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:16:48 UTC 2019
Date: Monday, November 4, 2019 @ 06:16:48
Author: felixonmars
Revision: 523349
archrelease: copy trunk to community-staging-any
Added:
python-iocapture/repos/community-staging-any/PKGBUILD
(from rev 523348, python-iocapture/trunk/PKGBUILD)
Deleted:
python-iocapture/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 06:16:37 UTC (rev 523348)
+++ PKGBUILD 2019-11-04 06:16:48 UTC (rev 523349)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-iocapture
-pkgname=('python-iocapture' 'python2-iocapture')
-pkgver=0.1.2
-pkgrel=4
-pkgdesc="Capture stdout, stderr easily."
-arch=('any')
-license=('MIT')
-url="https://github.com/oinume/iocapture"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-flexmock'
- 'python2-flexmock' 'python-pytest-cov' 'python2-pytest-cov'
- 'python-six' 'python2-six')
-source=("git+https://github.com/oinume/iocapture.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a iocapture{,-py2}
-}
-
-build() {
- cd "$srcdir/iocapture"
- python setup.py build
-
- cd "$srcdir/iocapture-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/iocapture"
- python setup.py pytest
-
- cd "$srcdir/iocapture-py2"
- python2 setup.py pytest
-}
-
-package_python-iocapture() {
- depends=('python')
-
- cd iocapture
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-iocapture() {
- depends=('python2')
-
- cd iocapture-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-iocapture/repos/community-staging-any/PKGBUILD (from rev 523348, python-iocapture/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-04 06:16:48 UTC (rev 523349)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-iocapture
+pkgname=('python-iocapture' 'python2-iocapture')
+pkgver=0.1.2
+pkgrel=5
+pkgdesc="Capture stdout, stderr easily."
+arch=('any')
+license=('MIT')
+url="https://github.com/oinume/iocapture"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-flexmock'
+ 'python2-flexmock' 'python-pytest-cov' 'python2-pytest-cov'
+ 'python-six' 'python2-six')
+source=("git+https://github.com/oinume/iocapture.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a iocapture{,-py2}
+}
+
+build() {
+ cd "$srcdir/iocapture"
+ python setup.py build
+
+ cd "$srcdir/iocapture-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/iocapture"
+ python setup.py pytest
+
+ cd "$srcdir/iocapture-py2"
+ python2 setup.py pytest
+}
+
+package_python-iocapture() {
+ depends=('python')
+
+ cd iocapture
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-iocapture() {
+ depends=('python2')
+
+ cd iocapture-py2
+ python2 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