[arch-commits] Commit in python-identify/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Sep 5 19:37:09 UTC 2022
Date: Monday, September 5, 2022 @ 19:37:09
Author: felixonmars
Revision: 1293115
archrelease: copy trunk to community-any
Added:
python-identify/repos/community-any/PKGBUILD
(from rev 1293114, 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-05 19:36:52 UTC (rev 1293114)
+++ PKGBUILD 2022-09-05 19:37:09 UTC (rev 1293115)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-_name=identify
-pkgname=python-identify
-pkgver=2.5.3
-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=('d6cc5737b119498af5fb3cc9478881960b4d9532eec552622e942292ec3f1c75182f50ccc94fe7e1bb8993525c5e50fcdfd58881a9226da52fbe5feb3b83a8c3')
-b2sums=('8782a4dfcea2d84facec9fefac8c7241c978ca1f494aa3e0602171dc017b41d24545ec7a3537b07a5e9962edcc4813fa4f45f76d807ba8ba69243041bc777d1b')
-
-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 1293114, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-05 19:37:09 UTC (rev 1293115)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at 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/"
+}
More information about the arch-commits
mailing list