Date: Saturday, February 6, 2021 @ 23:02:24 Author: archange Revision: 847521
archrelease: copy trunk to community-any Added: python-locket/repos/community-any/PKGBUILD (from rev 847520, python-locket/trunk/PKGBUILD) Deleted: python-locket/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-06 23:01:59 UTC (rev 847520) +++ PKGBUILD 2021-02-06 23:02:24 UTC (rev 847521) @@ -1,35 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -_pkg=locket -pkgname=python-${_pkg} -pkgver=0.2.0 -pkgrel=3 -pkgdesc="File-based locks for Python" -arch=(any) -url="https://github.com/mwilliamson/locket.py" -license=(BSD) -makedepends=(python-setuptools) -depends=(python) -checkdepends=(python-nose python-spur) -# No tests in pypi tarballs -#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) -source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('85ae716ac9e929e03dc8ed5e2725159d2d7570735fb2d0981ad453910b574ed1') - -build() { - cd ${_pkg}.py-${pkgver} - python setup.py build -} - -check() { - cd ${_pkg}.py-${pkgver} - # Failures with 3.8, dead upstream - nosetests || echo "Tests failed" -} - -package() { - cd ${_pkg}.py-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build - # Install license file - install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ -} Copied: python-locket/repos/community-any/PKGBUILD (from rev 847520, python-locket/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-06 23:02:24 UTC (rev 847521) @@ -0,0 +1,35 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +_pkg=locket +pkgname=python-${_pkg} +pkgver=0.2.1 +pkgrel=1 +pkgdesc="File-based locks for Python" +arch=(any) +url="https://github.com/mwilliamson/locket.py" +license=(BSD) +makedepends=(python-setuptools) +depends=(python) +checkdepends=(python-nose python-spur) +# No tests in pypi tarballs +#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) +source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('cda50c4b8b759dd2661451897a1fc69c655467cd6654f5305eae4508e6c659d0') + +build() { + cd ${_pkg}.py-${pkgver} + python setup.py build +} + +check() { + cd ${_pkg}.py-${pkgver} + # https://github.com/mwilliamson/locket.py/issues/13 + nosetests || echo "Tests failed" +} + +package() { + cd ${_pkg}.py-${pkgver} + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + # Install license file + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}