[arch-commits] Commit in pigar/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Aug 17 07:18:44 UTC 2018
Date: Friday, August 17, 2018 @ 07:18:44
Author: felixonmars
Revision: 372185
archrelease: copy trunk to community-any
Added:
pigar/repos/community-any/PKGBUILD
(from rev 372184, pigar/trunk/PKGBUILD)
Deleted:
pigar/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-17 07:18:18 UTC (rev 372184)
+++ PKGBUILD 2018-08-17 07:18:44 UTC (rev 372185)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=pigar
-pkgname=("pigar" "python2-pigar")
-pkgver=0.7.2
-pkgrel=2
-pkgdesc="A fantastic tool to generate requirements for your Python project, and more than that"
-arch=('any')
-url="https://github.com/Damnever/pigar"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-colorama' 'python2-colorama'
- 'python2-futures' 'python-gevent' 'python2-gevent')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Damnever/pigar/archive/v$pkgver.tar.gz")
-sha512sums=('cf1d7035c2f2ed20eef43dc8870401dfdf984cab91c26420bdbf9259400268145db89dc791526b2953267dee57f3d589bc68fa5608a2a8951e6326b825cc4fd0')
-
-prepare() {
- cp -a pigar-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/pigar-$pkgver
- python setup.py build
-
- cd "$srcdir"/pigar-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/pigar-$pkgver
- python -m unittest discover pigar/tests/ -t . -v
-
- cd "$srcdir"/pigar-$pkgver-py2
- python2 -m unittest discover pigar/tests/ -t . -v
-}
-
-package_pigar() {
- depends=('python-setuptools' 'python-colorama' 'python-gevent')
-
- cd pigar-$pkgver
- python3 setup.py install -O1 --root="$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pigar() {
- depends=('python2-setuptools' 'python2-colorama' 'python2-gevent' 'python2-futures')
-
- cd pigar-$pkgver-py2
- python2 setup.py install -O1 --root="$pkgdir"
- mv "$pkgdir"/usr/bin/pigar{,2}
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: pigar/repos/community-any/PKGBUILD (from rev 372184, pigar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-17 07:18:44 UTC (rev 372185)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pigar
+pkgname=("pigar" "python2-pigar")
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="A fantastic tool to generate requirements for your Python project, and more than that"
+arch=('any')
+url="https://github.com/Damnever/pigar"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-colorama' 'python2-colorama'
+ 'python2-futures' 'python-requests' 'python2-requests')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Damnever/pigar/archive/v$pkgver.tar.gz")
+sha512sums=('c1d5b0145bb9b3f964af103146946fe99f1324bff03468bfc3c4316e266456422f2c1a7d8a6304a5b3e6812d2c3bcdc23d501afb013d90277321b22e075dd7e7')
+
+prepare() {
+ cp -a pigar-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pigar-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pigar-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/pigar-$pkgver
+ python -m unittest discover pigar/tests/ -t . -v
+
+ cd "$srcdir"/pigar-$pkgver-py2
+ python2 -m unittest discover pigar/tests/ -t . -v
+}
+
+package_pigar() {
+ depends=('python-setuptools' 'python-colorama' 'python-requests')
+
+ cd pigar-$pkgver
+ python3 setup.py install -O1 --root="$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pigar() {
+ depends=('python2-setuptools' 'python2-colorama' 'python2-requests' 'python2-futures')
+
+ cd pigar-$pkgver-py2
+ python2 setup.py install -O1 --root="$pkgdir"
+ mv "$pkgdir"/usr/bin/pigar{,2}
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list