Date: Friday, November 23, 2018 @ 00:47:36 Author: anthraxx Revision: 409463
archrelease: copy trunk to community-any Added: python-threat9-test-bed/repos/community-any/PKGBUILD (from rev 409462, python-threat9-test-bed/trunk/PKGBUILD) Deleted: python-threat9-test-bed/repos/community-any/PKGBUILD ----------+ PKGBUILD | 81 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-23 00:47:30 UTC (rev 409462) +++ PKGBUILD 2018-11-23 00:47:36 UTC (rev 409463) @@ -1,41 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-threat9-test-bed -_pyname=threat9-test-bed -_gitcommit=142f59b74023538626910a3a3a17b8802e0645bf -pkgver=0.6.0 -pkgrel=1 -pkgdesc='Threat9 Test Bed' -url='https://github.com/threat9/threat9-test-bed' -arch=('any') -license=('custom') -depends=('python' 'python-setuptools' 'python-click' 'python-faker' 'python-flask' - 'gunicorn' 'python-pyopenssl' 'python-requests') -makedepends=('git' 'python-setuptools-scm') -checkdepends=('python-pytest') -source=(${pkgname}::"git+https://github.com/threat9/threat9-test-bed#commit=${_gitcommit}") -sha512sums=('SKIP') - -pkgver() { - cd ${pkgname} - git describe --always --tags | sed 's/^v//;s/-/./g' -} - -build() { - cd ${pkgname} - python setup.py build -} - -check() { - cd ${pkgname} - python -m pytest -} - -package() { - depends=('python') - cd ${pkgname} - python setup.py install --root="${pkgdir}" -O1 --skip-build - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: python-threat9-test-bed/repos/community-any/PKGBUILD (from rev 409462, python-threat9-test-bed/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-23 00:47:36 UTC (rev 409463) @@ -0,0 +1,40 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-threat9-test-bed +_pyname=threat9-test-bed +_gitcommit=142f59b74023538626910a3a3a17b8802e0645bf +pkgver=0.6.0 +pkgrel=2 +pkgdesc='Threat9 Test Bed' +url='https://github.com/threat9/threat9-test-bed' +arch=('any') +license=('custom') +depends=('python' 'python-setuptools' 'python-click' 'python-faker' 'python-flask' + 'gunicorn' 'python-pyopenssl' 'python-requests') +makedepends=('git' 'python-setuptools-scm') +checkdepends=('python-pytest') +source=(${pkgname}::"git+https://github.com/threat9/threat9-test-bed#commit=${_gitcommit}") +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + git describe --always --tags | sed 's/^v//;s/-/./g' +} + +build() { + cd ${pkgname} + python setup.py build +} + +check() { + cd ${pkgname} + python -m pytest +} + +package() { + cd ${pkgname} + python setup.py install --root="${pkgdir}" -O1 --skip-build + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: