[arch-commits] Commit in python-pyassert/repos (2 files)
Date: Sunday, October 27, 2019 @ 07:30:00 Author: foutrelis Revision: 520727 archrelease: copy trunk to community-staging-any Added: python-pyassert/repos/community-staging-any/ python-pyassert/repos/community-staging-any/PKGBUILD (from rev 520726, python-pyassert/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: python-pyassert/repos/community-staging-any/PKGBUILD (from rev 520726, python-pyassert/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-27 07:30:00 UTC (rev 520727) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Daniel Wallace +# Contributor: Thomas S Hatch + +pkgname=python-pyassert +pkgver=0.4.2 +pkgrel=6 +pkgdesc='Rich assertions library for Python' +arch=('any') +url='https://github.com/pyclectic/pyassert' +license=('Apache') +depends=('python-six') +makedepends=('python-pybuilder' 'python-mockito' 'python-coverage' 'python-unittest-xml-reporting' + 'flake8' 'pychecker') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pyclectic/pyassert/archive/v$pkgver.tar.gz;) +sha512sums=('5a7a8078dad967913708f0bc18278ba760bbc098c1fc6f299b6a654206834dbebc82125c33456e498e5edfbf15599360c3cff807df56073eaa62330b6b494f09') + +prepare() { + # Pybuilder uses directory name to determine distribution name + mv pyassert-$pkgver pyassert + + # BUILD FAILED - Missing plugin dependency 'pychecker': + # pip._internal.exceptions.DistributionNotFound: + # No matching distribution found for pychecker + sed -i '/use_plugin("python.pychecker")/d' pyassert/build.py +} + +check() { + cd pyassert + pyb -v analyze || warning "ignoring flake8 warnings" +} + +package() { + cd pyassert + pyb -v package + cd target/dist/pyassert-$pkgver + python setup.py install --root="$pkgdir" -O1 +}
[arch-commits] Commit in python-pyassert/repos (2 files)
Date: Wednesday, July 18, 2018 @ 05:26:58 Author: foutrelis Revision: 361742 archrelease: copy trunk to community-staging-any Added: python-pyassert/repos/community-staging-any/ python-pyassert/repos/community-staging-any/PKGBUILD (from rev 361741, python-pyassert/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-pyassert/repos/community-staging-any/PKGBUILD (from rev 361741, python-pyassert/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-18 05:26:58 UTC (rev 361742) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Daniel Wallace +# Contributor: Thomas S Hatch + +pkgname=python-pyassert +pkgver=0.4.2 +pkgrel=5 +pkgdesc='Rich assertions library for Python' +arch=('any') +url='https://github.com/pyclectic/pyassert' +license=('Apache') +depends=('python-six') +makedepends=('python-pybuilder' 'python-mockito' 'python-coverage' 'python-unittest-xml-reporting' + 'flake8' 'pychecker') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pyclectic/pyassert/archive/v$pkgver.tar.gz;) +sha512sums=('5a7a8078dad967913708f0bc18278ba760bbc098c1fc6f299b6a654206834dbebc82125c33456e498e5edfbf15599360c3cff807df56073eaa62330b6b494f09') + +prepare() { + # Pybuilder uses directory name to determine distribution name + mv pyassert-$pkgver pyassert + + # BUILD FAILED - Missing plugin dependency 'pychecker': + # pip._internal.exceptions.DistributionNotFound: + # No matching distribution found for pychecker + sed -i '/use_plugin("python.pychecker")/d' pyassert/build.py +} + +check() { + cd pyassert + pyb -v analyze || warning "ignoring flake8 warnings" +} + +package() { + cd pyassert + pyb -v package + cd target/dist/pyassert-$pkgver + python setup.py install --root="$pkgdir" -O1 +}
[arch-commits] Commit in python-pyassert/repos (2 files)
Date: Saturday, December 24, 2016 @ 12:21:54 Author: felixonmars Revision: 201486 archrelease: copy trunk to community-staging-any Added: python-pyassert/repos/community-staging-any/ python-pyassert/repos/community-staging-any/PKGBUILD (from rev 201485, python-pyassert/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: python-pyassert/repos/community-staging-any/PKGBUILD (from rev 201485, python-pyassert/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-24 12:21:54 UTC (rev 201486) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Daniel Wallace +# Contributor: Thomas S Hatch + +pkgbase=python-pyassert +pkgname=('python-pyassert' 'python2-pyassert') +pkgver=0.4.2 +pkgrel=3 +pkgdesc='Rich assertions library for Python' +arch=('any') +url='https://github.com/pyclectic/pyassert' +license=('Apache') +makedepends=('python-pybuilder' 'python2-pybuilder' 'python-mockito' 'python2-mockito' + 'python-coverage' 'python2-coverage' 'python-six' 'python2-six' 'git' + 'python-unittest-xml-reporting' 'python2-unittest-xml-reporting' 'flake8' + 'python2-flake8' 'pychecker') # python3-pychecker is missing +source=("git+https://github.com/pyclectic/pyassert.git#tag=v$pkgver;) +md5sums=('SKIP') + +prepare() { + # package name will be determined by directory name + mkdir py2 + cp -a pyassert py2/ +} + +check() { + cd "$srcdir"/pyassert + pyb -v analyze || warning "ignoring flake8 warnings" + + cd "$srcdir"/py2/pyassert + pyb2 -v analyze || warning "ignoring flake8 warnings" +} + +package_python-pyassert() { + depends=('python-six') + + cd pyassert + pyb -v package + cd target/dist/pyassert-$pkgver + python setup.py install --root="$pkgdir" -O1 +} + +package_python2-pyassert() { + depends=('python2-six') + + cd py2/pyassert + pyb2 -v package + cd target/dist/pyassert-$pkgver + python2 setup.py install --root="$pkgdir" -O1 +}