Date: Wednesday, September 7, 2022 @ 12:43:04 Author: felixonmars Revision: 1296070
archrelease: copy trunk to community-any Added: python-identify/repos/community-any/PKGBUILD (from rev 1296068, python-identify/trunk/PKGBUILD) Deleted: python-identify/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-07 12:43:02 UTC (rev 1296069) +++ PKGBUILD 2022-09-07 12:43:04 UTC (rev 1296070) @@ -1,36 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> - -_name=identify -pkgname=python-identify -pkgver=2.5.4 -pkgrel=1 -pkgdesc="File identification library for Python" -arch=(any) -url="https://github.com/pre-commit/identify" -license=(MIT) -depends=(python) -makedepends=(python-build python-installer python-setuptools python-wheel) -checkdepends=(python-ukkonen python-pytest) -optdepends=('python-editdistance-s: for returning license identifiers') -optdepends=('python-ukkonen: for returning license identifiers') -source=($_name-$pkgver.tar.gz::https://github.com/pre-commit/$_name/archive/refs/tags/v$pkgver.tar.gz) -sha512sums=('cb2d262def6f1f525cc3ac2cf3d10a16f45566809329025a7e91836865cc9b7f7ac5bf819ecd888867fe222f02f6e168a3f781d59915df0628b164d60df71123') -b2sums=('a90f9883d7b69ce4f38209aed273b10481ee6168f552e36ec959b5f6437423364d85528cec77295f10accc2d707e98e68e4cbe1b47007cc3b2c4deed7afb51d5') - -build() { - cd $_name-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd $_name-$pkgver - pytest -vv -} - -package() { - cd $_name-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - 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 1296068, python-identify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-07 12:43:04 UTC (rev 1296070) @@ -0,0 +1,36 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> + +_name=identify +pkgname=python-identify +pkgver=2.5.5 +pkgrel=1 +pkgdesc="File identification library for Python" +arch=(any) +url="https://github.com/pre-commit/identify" +license=(MIT) +depends=(python) +makedepends=(python-build python-installer python-setuptools python-wheel) +checkdepends=(python-ukkonen python-pytest) +optdepends=('python-editdistance-s: for returning license identifiers') +optdepends=('python-ukkonen: for returning license identifiers') +source=($_name-$pkgver.tar.gz::https://github.com/pre-commit/$_name/archive/refs/tags/v$pkgver.tar.gz) +sha512sums=('e02688805310a4f92d0435af562383a10297afa7fc468e44f73be40118c73e2ceac1b4ba7525c375fd0b671ea2700ba66307115c78558a370c525de8cba33c83') +b2sums=('b3a4dc2273435cf9244af64b08b9a9a922025f7d32f479fb2641fcdd9f8a05d2778db126104b1e3b765b82af7ecc1660163de1f71098900296135cd1ccd129c5') + +build() { + cd $_name-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd $_name-$pkgver + pytest -vv +} + +package() { + cd $_name-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +}