[arch-commits] Commit in python-database-knotinfo/repos/community-any (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 2 07:20:19 UTC 2022
Date: Wednesday, March 2, 2022 @ 07:20:19
Author: arojas
Revision: 1139315
archrelease: copy trunk to community-any
Added:
python-database-knotinfo/repos/community-any/PKGBUILD
(from rev 1139314, python-database-knotinfo/trunk/PKGBUILD)
Deleted:
python-database-knotinfo/repos/community-any/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-02 07:20:10 UTC (rev 1139314)
+++ PKGBUILD 2022-03-02 07:20:19 UTC (rev 1139315)
@@ -1,24 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-database-knotinfo
-_pyname=database_knotinfo
-pkgver=2022.2.1
-pkgrel=1
-arch=(any)
-pkgdesc='Snapshot of the complete content of the KnotInfo and LinkInfo databases for Python'
-url='https://github.com/soehms/database_knotinfo'
-depends=(python)
-makedepends=(python-setuptools-scm)
-license=(GPL)
-source=(https://pypi.io/packages/source/d/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('6c003301bef634805bc7e935addee4310bd620bfcff84d46158764e301fc2765')
-
-build() {
- cd $_pyname-$pkgver
- python setup.py build
-}
-
-package() {
- cd $_pyname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-database-knotinfo/repos/community-any/PKGBUILD (from rev 1139314, python-database-knotinfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-02 07:20:19 UTC (rev 1139315)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-database-knotinfo
+_pyname=database_knotinfo
+pkgver=2022.3.1
+pkgrel=1
+arch=(any)
+pkgdesc='Snapshot of the complete content of the KnotInfo and LinkInfo databases for Python'
+url='https://github.com/soehms/database_knotinfo'
+depends=(python)
+makedepends=(python-build python-installer python-wheel python-setuptools-scm)
+license=(GPL)
+source=(https://pypi.io/packages/source/d/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('2405a5438d9a47a5859419cdffe25105ca3b7bf36ecaa4d4e0b6030769b2903c')
+
+build() {
+ cd $_pyname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd $_pyname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list