[arch-commits] Commit in python-hyperlink/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Aug 19 14:35:36 UTC 2017
Date: Saturday, August 19, 2017 @ 14:35:36
Author: felixonmars
Revision: 302878
archrelease: copy trunk to extra-any
Added:
python-hyperlink/repos/extra-any/PKGBUILD
(from rev 302877, python-hyperlink/trunk/PKGBUILD)
Deleted:
python-hyperlink/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-19 14:35:15 UTC (rev 302877)
+++ PKGBUILD 2017-08-19 14:35:36 UTC (rev 302878)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hyperlink
-pkgname=('python-hyperlink' 'python2-hyperlink')
-pkgver=17.3.0
-pkgrel=1
-pkgdesc='A featureful, correct URL for Python'
-arch=('any')
-license=('BSD')
-url='https://github.com/python-hyper/hyperlink'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyperlink/archive/v$pkgver.tar.gz")
-sha512sums=('8ad7efaf977018ac2524b39e1c96878df85789532c2e85b0cbd69e86c330285070428be1e64545e6b273dd331142b27f915e5186fc12b3b4c59013e123c69531')
-
-prepare() {
- cp -a hyperlink-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/hyperlink-$pkgver
- python setup.py build
-
- cd "$srcdir"/hyperlink-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/hyperlink-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/hyperlink-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-hyperlink() {
- depends=('python')
-
- cd hyperlink-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-hyperlink() {
- depends=('python2')
-
- cd hyperlink-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-hyperlink/repos/extra-any/PKGBUILD (from rev 302877, python-hyperlink/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-08-19 14:35:36 UTC (rev 302878)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hyperlink
+pkgname=('python-hyperlink' 'python2-hyperlink')
+pkgver=17.3.1
+pkgrel=1
+pkgdesc='A featureful, correct URL for Python'
+arch=('any')
+license=('BSD')
+url='https://github.com/python-hyper/hyperlink'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-hyper/hyperlink/archive/v$pkgver.tar.gz")
+sha512sums=('3c7ec4c7686066360130a72345af0257605b76415d58030fbb2e02bc52a58a43ea77455eb4acf9181131ff311f9fe54c7a15b05e7c5093fb24368ccd12e116b2')
+
+prepare() {
+ cp -a hyperlink-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/hyperlink-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/hyperlink-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/hyperlink-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/hyperlink-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-hyperlink() {
+ depends=('python')
+
+ cd hyperlink-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-hyperlink() {
+ depends=('python2')
+
+ cd hyperlink-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list