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

Morten Linderud foxboron at gemini.archlinux.org
Thu Dec 23 13:38:18 UTC 2021


    Date: Thursday, December 23, 2021 @ 13:38:18
  Author: foxboron
Revision: 1083198

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-23 13:38:10 UTC (rev 1083197)
+++ PKGBUILD	2021-12-23 13:38:18 UTC (rev 1083198)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Lance Chen <cyen0312 at gmail.com>
-
-_pypiname=wheel
-pkgname=python-wheel
-pkgver=0.37.0
-pkgrel=5
-pkgdesc="A built-package format for Python"
-arch=(any)
-url="https://pypi.python.org/pypi/wheel"
-license=('MIT')
-depends=('python-packaging')
-optdepends=('python-keyring: for wheel.signatures'
-            'python-xdg: for wheel.signatures')
-makedepends=('python-setuptools')
-checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
-              'python-xdg')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
-sha512sums=('2e0eb1c5560a0229be9de450da8b2bc62153744abb6d8ab9a0625c150dc00d3fc3e24dbe37cc26f4ca6b6876b5c63298427b2076ee42b8f772c75010bfc135a8')
-
-prepare() {
-  # don't depend on python-coverage for tests
-  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
-
-  # https://github.com/pypa/wheel/pull/365 but why?
-  rm -r wheel-$pkgver/src/wheel/vendored
-  sed -i 's/from .vendored.packaging import tags/from packaging import tags/' wheel-$pkgver/src/wheel/bdist_wheel.py
-}
-
-build() {
-  cd "$srcdir/wheel-$pkgver"
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd wheel-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
-}
-
-package() {
-  cd "$srcdir/$_pypiname-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}

Copied: python-wheel/repos/community-any/PKGBUILD (from rev 1083197, python-wheel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-23 13:38:18 UTC (rev 1083198)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+_pypiname=wheel
+pkgname=python-wheel
+pkgver=0.37.1
+pkgrel=1
+pkgdesc="A built-package format for Python"
+arch=(any)
+url="https://pypi.python.org/pypi/wheel"
+license=('MIT')
+depends=('python-packaging')
+optdepends=('python-keyring: for wheel.signatures'
+            'python-xdg: for wheel.signatures')
+makedepends=('python-setuptools')
+checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
+              'python-xdg' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
+sha512sums=('9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457')
+
+prepare() {
+  # don't depend on python-coverage for tests
+  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
+
+  # https://github.com/pypa/wheel/pull/365 but why?
+  rm -r wheel-$pkgver/src/wheel/vendored
+  sed -i 's/from .vendored.packaging import tags/from packaging import tags/' wheel-$pkgver/src/wheel/bdist_wheel.py
+}
+
+build() {
+  cd "$srcdir/wheel-$pkgver"
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd wheel-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
+}
+
+package() {
+  cd "$srcdir/$_pypiname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}



More information about the arch-commits mailing list