[arch-commits] Commit in python-wheel/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 12 13:58:05 UTC 2019
Date: Sunday, May 12, 2019 @ 13:58:04
Author: felixonmars
Revision: 466473
archrelease: copy trunk to community-any
Added:
python-wheel/repos/community-any/PKGBUILD
(from rev 466472, python-wheel/trunk/PKGBUILD)
Deleted:
python-wheel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 13:57:52 UTC (rev 466472)
+++ PKGBUILD 2019-05-12 13:58:04 UTC (rev 466473)
@@ -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.33.3
-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' 'python2-jsonschema' 'python-pytest-cov' 'python2-pytest-cov'
- 'python-keyring' 'python-keyrings-alt' 'python-xdg' 'python2-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=('f65c045d0732dac0922202a18e9b4b96f479bf8b68d0b9264bdefc3d2f0101757511146dd2fff1ffe3ebb82ae8c7df27bda35b6cf2ed09bbc04fc47e1cbd887c')
-
-prepare() {
- cp -a wheel-$pkgver{,-py2}
-}
-
-build() {
- 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 "$srcdir/wheel-$pkgver"
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
- cd "$srcdir/wheel-$pkgver-py2"
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 -k 'not test_keygen'
-}
-
-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 466472, python-wheel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-12 13:58:04 UTC (rev 466473)
@@ -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.33.4
+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' 'python2-jsonschema' 'python-pytest-cov' 'python2-pytest-cov'
+ 'python-keyring' 'python-keyrings-alt' 'python-xdg' 'python2-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=('00c2994fd4688d5f93634d27e2d1838034b8bc56ae2075e9500eae1babd8bd837272941834e376c7a7afef47655fb9828c12f0ccbe62d0397f8482fe876e6f8b')
+
+prepare() {
+ cp -a wheel-$pkgver{,-py2}
+}
+
+build() {
+ 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 "$srcdir/wheel-$pkgver"
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+
+ cd "$srcdir/wheel-$pkgver-py2"
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 -k 'not test_keygen'
+}
+
+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