[arch-commits] Commit in python-whelk/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 24 04:32:48 UTC 2019
Date: Friday, May 24, 2019 @ 04:32:48
Author: felixonmars
Revision: 469503
archrelease: copy trunk to community-any
Added:
python-whelk/repos/community-any/PKGBUILD
(from rev 469502, python-whelk/trunk/PKGBUILD)
Deleted:
python-whelk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++----------------------------------------
1 file changed, 28 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-24 04:32:36 UTC (rev 469502)
+++ PKGBUILD 2019-05-24 04:32:48 UTC (rev 469503)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-whelk
-pkgname=('python-whelk' 'python2-whelk')
-pkgver=2.7.1
-pkgrel=2
-pkgdesc="Easy access to shell commands from python"
-arch=('any')
-license=('custom:zlib')
-url="https://pypi.python.org/pypi/whelk"
-makedepends=('python' 'python2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz")
-sha512sums=('39b73ed09a0d2442cdde5b8bae72805571a172c6acfa3f652c8cb125d3a400f2538fe6534179f95383d321e8975b6127115616372c60c736e8cd8ceba00ef093')
-
-prepare() {
- cp -a whelk-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/whelk-$pkgver
- python setup.py build
-
- cd "$srcdir"/whelk-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/whelk-$pkgver
- python -munittest discover
-
- cd "$srcdir"/whelk-$pkgver-py2
- python2 -munittest discover
-}
-
-package_python-whelk() {
- depends=('python')
-
- cd whelk-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-package_python2-whelk() {
- depends=('python2')
-
- cd whelk-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
Copied: python-whelk/repos/community-any/PKGBUILD (from rev 469502, python-whelk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-24 04:32:48 UTC (rev 469503)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-whelk
+pkgver=2.7.1
+pkgrel=3
+pkgdesc="Easy access to shell commands from python"
+arch=('any')
+license=('custom:zlib')
+url="https://pypi.python.org/pypi/whelk"
+depends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz")
+sha512sums=('39b73ed09a0d2442cdde5b8bae72805571a172c6acfa3f652c8cb125d3a400f2538fe6534179f95383d321e8975b6127115616372c60c736e8cd8ceba00ef093')
+
+build() {
+ cd whelk-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd whelk-$pkgver
+ python -munittest discover
+}
+
+package() {
+ cd whelk-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
More information about the arch-commits
mailing list