Date: Friday, November 13, 2020 @ 07:28:23 Author: foutrelis Revision: 753844
archrelease: copy trunk to community-staging-any Added: python-hypothesmith/repos/community-staging-any/PKGBUILD (from rev 753843, python-hypothesmith/trunk/PKGBUILD) Deleted: python-hypothesmith/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-13 07:28:20 UTC (rev 753843) +++ PKGBUILD 2020-11-13 07:28:23 UTC (rev 753844) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hypothesmith -pkgver=0.1.6 -_commit=40947c2e590f06ea5f3b88c6e75d8a98e9443c63 -pkgrel=2 -pkgdesc="Hypothesis strategies for generating Python programs, something like CSmith" -url="https://github.com/Zac-HD/hypothesmith" -license=('MPL') -arch=('any') -depends=('python-hypothesis' 'python-lark-parser' 'python-libcst') -makedepends=('python-setuptools') -checkdepends=('python-black' 'python-parso' 'python-pytest-cov') -source=("https://github.com/Zac-HD/hypothesmith/archive/$_commit/$pkgname-$_commit.tar.gz") -sha512sums=('c93341aaa3397c46331474b6b5b48efab1b50a8cf4e7359b77fa60c9e4952341fc0e8a8c3becca44599ef9b5ed05748072a0022ba79def82a2b78e0dd44e165d') - -build() { - cd hypothesmith-$_commit - python setup.py build -} - -check() { - cd hypothesmith-$_commit - PYTHONPATH="$PWD/build/lib" pytest -} - -package() { - cd hypothesmith-$_commit - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-hypothesmith/repos/community-staging-any/PKGBUILD (from rev 753843, python-hypothesmith/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-13 07:28:23 UTC (rev 753844) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-hypothesmith +pkgver=0.1.6 +_commit=40947c2e590f06ea5f3b88c6e75d8a98e9443c63 +pkgrel=3 +pkgdesc="Hypothesis strategies for generating Python programs, something like CSmith" +url="https://github.com/Zac-HD/hypothesmith" +license=('MPL') +arch=('any') +depends=('python-hypothesis' 'python-lark-parser' 'python-libcst') +makedepends=('python-setuptools') +checkdepends=('python-black' 'python-parso' 'python-pytest-cov') +source=("https://github.com/Zac-HD/hypothesmith/archive/$_commit/$pkgname-$_commit.tar.gz") +sha512sums=('c93341aaa3397c46331474b6b5b48efab1b50a8cf4e7359b77fa60c9e4952341fc0e8a8c3becca44599ef9b5ed05748072a0022ba79def82a2b78e0dd44e165d') + +build() { + cd hypothesmith-$_commit + python setup.py build +} + +check() { + cd hypothesmith-$_commit + PYTHONPATH="$PWD/build/lib" pytest +} + +package() { + cd hypothesmith-$_commit + python setup.py install --root="$pkgdir" --optimize=1 +}