[arch-commits] Commit in python-pkginfo/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Mar 18 20:42:18 UTC 2022


    Date: Friday, March 18, 2022 @ 20:42:17
  Author: arojas
Revision: 1159130

archrelease: copy trunk to community-any

Added:
  python-pkginfo/repos/community-any/PKGBUILD
    (from rev 1159129, python-pkginfo/trunk/PKGBUILD)
Deleted:
  python-pkginfo/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-18 20:42:08 UTC (rev 1159129)
+++ PKGBUILD	2022-03-18 20:42:17 UTC (rev 1159130)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
-
-pkgname=python-pkginfo
-pkgver=1.7.1
-pkgrel=3
-pkgdesc='Query metadatdata from sdists / bdists / installed packages'
-arch=('any')
-url="https://pypi.python.org/pypi/pkginfo"
-license=('PSF')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-nose')
-source=("https://pypi.io/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz")
-sha512sums=('5b6374e45e7ccd68f3a28145c2fc350e630e97fcc5e97d46d05c32f0958a51e4713487b809099ddf0a9ab07840f7fb4409438ab7b7a9b0b05e94d292088b2c26')
-
-build() {
-  cd pkginfo-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pkginfo-$pkgver
-  python setup.py nosetests
-}
-
-package_python-pkginfo() {
-  cd pkginfo-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-pkginfo/repos/community-any/PKGBUILD (from rev 1159129, python-pkginfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-18 20:42:17 UTC (rev 1159130)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgname=python-pkginfo
+pkgver=1.8.2
+pkgrel=1
+pkgdesc='Query metadatdata from sdists / bdists / installed packages'
+arch=('any')
+url="https://pypi.python.org/pypi/pkginfo"
+license=('PSF')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz")
+sha512sums=('06164b6c17000cf25e72d39e4e025a395cdd09afaab6169180cf096bae5a1ff863930d3b368274b6a03458a9ae1c3cb996559c0b042807141435b1868189b5f6')
+
+build() {
+  cd pkginfo-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd pkginfo-$pkgver
+  python setup.py nosetests
+}
+
+package_python-pkginfo() {
+  cd pkginfo-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list