Date: Saturday, June 5, 2021 @ 15:00:59 Author: felixonmars Revision: 956066
archrelease: copy trunk to community-any Added: python-identify/repos/community-any/PKGBUILD (from rev 956065, python-identify/trunk/PKGBUILD) Deleted: python-identify/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-05 15:00:42 UTC (rev 956065) +++ PKGBUILD 2021-06-05 15:00:59 UTC (rev 956066) @@ -1,42 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> - -_name=identify -pkgname=python-identify -pkgver=2.2.8 -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-s' 'python-pytest') -optdepends=('python-editdistance-s: for returning license identifiers') -source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz") -sha512sums=('d166f37fa60cafc0fb624cac9626115adaecd8ec88f42ce71b81794b6aa8301e42f459bfbc1da3d81709ee5681184e927e9111a906a22ec8c977b24f1e9dc17f') -b2sums=('46bf6631c6006ad2326f175257ee2cb4324ac463419cb50df0919768b2787afcc135dc1982ee1feb4a5efef6990f3224f63fb2dea19dc6795a3fe736e6b8555e') - -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 \ - --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 956065, python-identify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-05 15:00:59 UTC (rev 956066) @@ -0,0 +1,42 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> + +_name=identify +pkgname=python-identify +pkgver=2.2.9 +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-s' 'python-pytest') +optdepends=('python-editdistance-s: for returning license identifiers') +source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz") +sha512sums=('b26e80cde3225d9fd9f95e4b2c95d3e8ea35f5848301c1e3430be72ce9fd49755ea09ce8d933605839d5919255b25b05c1102fad5923dcc0c5066160c501ee29') +b2sums=('399acf1a946c5fbb54dc88897c51b00cb02965c306ce87b52bd1cf4e7cc2836dd4051bca8a3b9533b6ca954a0b9eb4c12ef1d391e1334f9106fa46daadf150b6') + +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 \ + --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +}