[arch-commits] Commit in python-scripttest/repos (2 files)
Date: Tuesday, November 10, 2020 @ 05:10:46 Author: felixonmars Revision: 749343 archrelease: copy trunk to community-staging-any Added: python-scripttest/repos/community-staging-any/ python-scripttest/repos/community-staging-any/PKGBUILD (from rev 749341, python-scripttest/trunk/PKGBUILD) --+ PKGBUILD | 31 +++ 1 file changed, 31 insertions(+) Copied: python-scripttest/repos/community-staging-any/PKGBUILD (from rev 749341, python-scripttest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-10 05:10:46 UTC (rev 749343) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan +# Contributor: Simon Sapin +# Contributor: Kyle Keen + +pkgname=python-scripttest +pkgver=1.3.0 +pkgrel=5 +pkgdesc="Utilities to help with testing command line scripts" +url="https://github.com/pypa/scripttest"; +license=('MIT') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/scripttest/archive/$pkgver.tar.gz";) +sha512sums=('038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6') + +build() { + cd "$srcdir"/scripttest-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/scripttest-$pkgver + python setup.py pytest +} + +package() { + cd scripttest-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-scripttest/repos (2 files)
Date: Saturday, October 26, 2019 @ 20:24:07 Author: felixonmars Revision: 520501 archrelease: copy trunk to community-staging-any Added: python-scripttest/repos/community-staging-any/ python-scripttest/repos/community-staging-any/PKGBUILD (from rev 520499, python-scripttest/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: python-scripttest/repos/community-staging-any/PKGBUILD (from rev 520499, python-scripttest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 20:24:07 UTC (rev 520501) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan +# Contributor: Simon Sapin +# Contributor: Kyle Keen + +pkgbase=python-scripttest +pkgname=(python-scripttest python2-scripttest) +pkgver=1.3.0 +pkgrel=3 +pkgdesc="Utilities to help with testing command line scripts" +url="https://github.com/pypa/scripttest"; +license=('MIT') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/scripttest/archive/$pkgver.tar.gz";) +sha512sums=('038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6') + +prepare() { + cp -a scripttest-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/scripttest-$pkgver + python setup.py build + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/scripttest-$pkgver + python setup.py pytest + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py pytest +} + +package_python-scripttest() { + depends=('python') + + cd scripttest-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-scripttest() { + depends=('python2') + + cd scripttest-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-scripttest/repos (2 files)
Date: Saturday, June 30, 2018 @ 15:49:42 Author: foutrelis Revision: 348328 archrelease: copy trunk to community-staging-any Added: python-scripttest/repos/community-staging-any/ python-scripttest/repos/community-staging-any/PKGBUILD (from rev 348327, python-scripttest/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: python-scripttest/repos/community-staging-any/PKGBUILD (from rev 348327, python-scripttest/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 15:49:42 UTC (rev 348328) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Simon Sapin +# Contributor: Kyle Keen + +pkgbase=python-scripttest +pkgname=(python-scripttest python2-scripttest) +pkgver=1.3.0 +pkgrel=2 +pkgdesc="Utilities to help with testing command line scripts" +url="https://github.com/pypa/scripttest"; +license=('MIT') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/scripttest/archive/$pkgver.tar.gz";) +sha512sums=('038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6') + +prepare() { + cp -a scripttest-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/scripttest-$pkgver + python setup.py build + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/scripttest-$pkgver + python setup.py pytest + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py pytest +} + +package_python-scripttest() { + depends=('python') + + cd scripttest-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-scripttest() { + depends=('python2') + + cd scripttest-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}
[arch-commits] Commit in python-scripttest/repos (2 files)
Date: Thursday, November 30, 2017 @ 04:58:05 Author: felixonmars Revision: 270792 archrelease: copy trunk to community-any Added: python-scripttest/repos/community-any/ python-scripttest/repos/community-any/PKGBUILD (from rev 270791, python-scripttest/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: python-scripttest/repos/community-any/PKGBUILD (from rev 270791, python-scripttest/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2017-11-30 04:58:05 UTC (rev 270792) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Simon Sapin +# Contributor: Kyle Keen + +pkgbase=python-scripttest +pkgname=(python-scripttest python2-scripttest) +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Utilities to help with testing command line scripts" +url="https://github.com/pypa/scripttest"; +license=('MIT') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/scripttest/archive/$pkgver.tar.gz";) +sha512sums=('038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6') + +prepare() { + cp -a scripttest-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/scripttest-$pkgver + python setup.py build + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/scripttest-$pkgver + python setup.py pytest + + cd "$srcdir"/scripttest-$pkgver-py2 + python2 setup.py pytest +} + +package_python-scripttest() { + depends=('python') + + cd scripttest-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-scripttest() { + depends=('python2') + + cd scripttest-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}