Date: Tuesday, March 24, 2020 @ 10:51:39 Author: dvzrv Revision: 603805
archrelease: copy trunk to community-any Added: python-identify/repos/community-any/PKGBUILD (from rev 603804, python-identify/trunk/PKGBUILD) Deleted: python-identify/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-24 10:51:30 UTC (rev 603804) +++ PKGBUILD 2020-03-24 10:51:39 UTC (rev 603805) @@ -1,44 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> - -_name=identify -pkgname=python-identify -pkgver=1.4.12 -pkgrel=1 -pkgdesc="File identification library for Python" -arch=('any') -url="https://github.com/chriskuehl/identify" -license=('MIT') -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-editdistance' 'python-pytest') -# no tests in pypi sdist tarball: -# https://github.com/chriskuehl/identify/issues/95 -# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz") -sha512sums=('044f63016707e94d6df66814bfc9eac6924747f54dadff44412bd618aca80553adcb45934f54658ff76fa9230faf1d0c151ede29e410ad98ccbdb31fb3e2e23d') - -prepare() { - mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="build:${PYTHONPATH}" - pytest -v -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root="${pkgdir}" - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-identify/repos/community-any/PKGBUILD (from rev 603804, python-identify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-24 10:51:39 UTC (rev 603805) @@ -0,0 +1,44 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> + +_name=identify +pkgname=python-identify +pkgver=1.4.13 +pkgrel=1 +pkgdesc="File identification library for Python" +arch=('any') +url="https://github.com/chriskuehl/identify" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-editdistance' 'python-pytest') +# no tests in pypi sdist tarball: +# https://github.com/chriskuehl/identify/issues/95 +# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz") +sha512sums=('10c45c135756d62dfff62c17582a0d81bed509e509a9b5c95c00c7759854b95fe279dc9d1ba5d85d7674d0c5429467e2a7734945960fd365ff564a17a7418238') + +prepare() { + mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + export PYTHONPATH="build:${PYTHONPATH}" + pytest -v +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +}