Date: Friday, November 18, 2022 @ 19:56:07
Author: dvzrv
Revision: 1349603
archrelease: copy trunk to community-any
Added:
python-identify/repos/community-any/PKGBUILD
(from rev 1349602, python-identify/trunk/PKGBUILD)
Deleted:
python-identify/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 38 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-18 19:55:56 UTC (rev 1349602)
+++ PKGBUILD 2022-11-18 19:56:07 UTC (rev 1349603)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-
-_name=identify
-pkgname=python-identify
-pkgver=2.5.8
-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=('b43b8ba50d4d58a6d82c99141c708a45317f64693aea567105ed7f3957446e00102ddd303120a9f1238b04b6e0655e1dd6f807f6d878e972c7967a510f8b24b2')
-b2sums=('2b59ac3cb416c7e3d6bd4031bfed30594b9be70f94d1e0d8e9f436b76e9241cde32f847c0f6b40607d2cb37ff7d67270a35a4d22be4cd6b216324e4eba30f136')
-
-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 1349602,
python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-18 19:56:07 UTC (rev 1349603)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+_name=identify
+pkgname=python-identify
+pkgver=2.5.9
+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'
+ '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=('fdecd728bed3828d3a5465943b390ce3aab05255ba06249f462a2367dcd3702ef85fbe57e06562a951e3eeb24f7f417b04d54e30bd711802a8afe37c2e1eb1f0')
+b2sums=('045e32b6aa84cedee100332c9b26d1fbbc32f704ef1048ce380fcc40c8a3fcf2e5c96db83058b04d7ead6dea0681ea114e6469d89aa7cd10458ce98cb3f77c58')
+
+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/"
+}