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

Felix Yan felixonmars at archlinux.org
Fri Aug 14 08:51:07 UTC 2020


    Date: Friday, August 14, 2020 @ 08:51:07
  Author: felixonmars
Revision: 678523

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-14 08:50:56 UTC (rev 678522)
+++ PKGBUILD	2020-08-14 08:51:07 UTC (rev 678523)
@@ -1,67 +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
-pkgbase=python-wheel
-pkgname=('python-wheel' 'python2-wheel')
-pkgver=0.34.2
-pkgrel=3
-pkgdesc="A built-package format for Python"
-arch=(any)
-url="https://pypi.python.org/pypi/wheel"
-license=('MIT')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
-checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
-              'python-xdg')
-source=("https://pypi.io/packages/source/w/wheel/$_pypiname-$pkgver.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
-sha512sums=('fcd02cf770382c26b5250aa48f60481ac868ff7e1b08245ed4616aaa7d6dc5e3280d9ab787c4d1690b11550de9f6160c0d31dd65b79554711ab5d02de479e1ab')
-
-prepare() {
-  # don't depend on python-coverage for tests
-  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
-  cp -a wheel-$pkgver{,-py2}
-}
-
-build() {
-  export PYTHONHASHSEED=0
-
-  cd "$srcdir/wheel-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/wheel-$pkgver-py2"
-  python2 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.8/site-packages:$PYTHONPATH" py.test
-}
-
-package_python-wheel() {
-  depends=('python')
-  optdepends=('python-keyring: for wheel.signatures')
-  optdepends=('python-xdg: for wheel.signatures')
-
-  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"
-}
-
-package_python2-wheel() {
-  depends=('python2')
-  optdepends=('python2-keyring: for wheel.signatures')
-  optdepends=('python2-xdg: for wheel.signatures')
-
-  cd "$srcdir/$_pypiname-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-  mv "$pkgdir/usr/bin/wheel" "$pkgdir/usr/bin/wheel2"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-wheel/repos/community-any/PKGBUILD (from rev 678522, python-wheel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-14 08:51:07 UTC (rev 678523)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+_pypiname=wheel
+pkgbase=python-wheel
+pkgname=('python-wheel' 'python2-wheel')
+pkgver=0.35.0
+pkgrel=1
+pkgdesc="A built-package format for Python"
+arch=(any)
+url="https://pypi.python.org/pypi/wheel"
+license=('MIT')
+makedepends=('python' 'python-setuptools'
+             'python2' 'python2-setuptools')
+checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
+              'python-xdg')
+source=("https://pypi.io/packages/source/w/wheel/$_pypiname-$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
+sha512sums=('d6818fd825bf49dfd4e88fd252ce97c64df34eae72b482e932df2fd39562bae54a63f3e9b65b65d04b6e10d130edd462a769499d214d7beae053555618e2fc15')
+
+prepare() {
+  # don't depend on python-coverage for tests
+  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
+  cp -a wheel-$pkgver{,-py2}
+}
+
+build() {
+  export PYTHONHASHSEED=0
+
+  cd "$srcdir/wheel-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/wheel-$pkgver-py2"
+  python2 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.8/site-packages:$PYTHONPATH" py.test
+}
+
+package_python-wheel() {
+  depends=('python')
+  optdepends=('python-keyring: for wheel.signatures')
+  optdepends=('python-xdg: for wheel.signatures')
+
+  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"
+}
+
+package_python2-wheel() {
+  depends=('python2')
+  optdepends=('python2-keyring: for wheel.signatures')
+  optdepends=('python2-xdg: for wheel.signatures')
+
+  cd "$srcdir/$_pypiname-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+  mv "$pkgdir/usr/bin/wheel" "$pkgdir/usr/bin/wheel2"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list