Date: Monday, July 27, 2020 @ 22:33:10 Author: archange Revision: 665549
archrelease: copy trunk to community-any Added: python-helpdev/repos/community-any/PKGBUILD (from rev 665548, python-helpdev/trunk/PKGBUILD) Deleted: python-helpdev/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-27 22:33:05 UTC (rev 665548) +++ PKGBUILD 2020-07-27 22:33:10 UTC (rev 665549) @@ -1,33 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -_pkg=helpdev -pkgname=python-${_pkg} -pkgver=0.6.10 -pkgrel=1 -pkgdesc="Helping users and developers to get information about the environment to report bugs" -arch=(any) -url="https://gitlab.com/dpizetta/helpdev" -license=(MIT CCPL) -depends=(python-importlib-metadata python-psutil) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pip) -#PyPi does not have tests nor LICENSE -#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) -source=(${url}/-/archive/v${pkgver}/${_pkg}-v${pkgver}.tar.bz2) -sha256sums=('ca478a30dbe0742f7a513b4017e83672e946f5c3c5b6c394d4386e54c0c63a19') - -build() { - cd ${_pkg}-v${pkgver} - python setup.py build -} - -check() { - cd ${_pkg}-v${pkgver} - PYTHONPATH="${PWD}/build/lib/" pytest tests -} - -package() { - cd ${_pkg}-v${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname} -} Copied: python-helpdev/repos/community-any/PKGBUILD (from rev 665548, python-helpdev/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-27 22:33:10 UTC (rev 665549) @@ -0,0 +1,33 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +_pkg=helpdev +pkgname=python-${_pkg} +pkgver=0.7.1 +pkgrel=1 +pkgdesc="Helping users and developers to get information about the environment to report bugs" +arch=(any) +url="https://gitlab.com/dpizetta/helpdev" +license=(MIT CCPL) +depends=(python-importlib-metadata python-psutil) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pip) +#PyPi does not have tests nor LICENSE +#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) +source=(${url}/-/archive/v${pkgver}/${_pkg}-v${pkgver}.tar.bz2) +sha256sums=('b52f83d6d3935500da42b434747569660d526cd36e88069bd67a8747cca488fc') + +build() { + cd ${_pkg}-v${pkgver} + python setup.py build +} + +check() { + cd ${_pkg}-v${pkgver} + PYTHONPATH="${PWD}/build/lib/" pytest tests +} + +package() { + cd ${_pkg}-v${pkgver} + python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname} +}