Date: Tuesday, July 30, 2019 @ 05:03:36 Author: felixonmars Revision: 495065
archrelease: copy trunk to community-any Added: python-cmd2/repos/community-any/PKGBUILD (from rev 495064, python-cmd2/trunk/PKGBUILD) Deleted: python-cmd2/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-30 05:03:26 UTC (rev 495064) +++ PKGBUILD 2019-07-30 05:03:36 UTC (rev 495065) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-cmd2 -pkgver=0.9.14 -pkgrel=1 -pkgdesc="A tool for building interactive command line apps" -arch=('any') -url="https://github.com/python-cmd2/cmd2" -license=('MIT') -depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth') -makedepends=('python-setuptools-scm') -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-pytest-mock' 'vi') -source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz") -sha512sums=('5f9a5abe09b93765cbc16a2fc1d4039fc2074df5ca6f8ea084f6875e1337916e2623daf2d041604ee38a57115607a488e943cb301339df60f120c8804f67e990') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd cmd2-$pkgver - python setup.py build -} - -check() { - cd cmd2-$pkgver - python setup.py pytest -} - -package() { - cd cmd2-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-cmd2/repos/community-any/PKGBUILD (from rev 495064, python-cmd2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-30 05:03:36 UTC (rev 495065) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-cmd2 +pkgver=0.9.15 +pkgrel=1 +pkgdesc="A tool for building interactive command line apps" +arch=('any') +url="https://github.com/python-cmd2/cmd2" +license=('MIT') +depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth') +makedepends=('python-setuptools-scm') +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-pytest-mock' 'vi') +source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz") +sha512sums=('1cf297a0413f92a6a007e997bf5e5513dab4349dfa1c7776f126ffce652a32a7991d2a30d87ba866d4b55b684516d88ef9326d1362b7e3555b5abac71b589bc5') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd cmd2-$pkgver + python setup.py build +} + +check() { + cd cmd2-$pkgver + python setup.py pytest +} + +package() { + cd cmd2-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: