[arch-commits] Commit in python-pygithub/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 6 03:17:41 UTC 2017
Date: Thursday, April 6, 2017 @ 03:17:41
Author: felixonmars
Revision: 220837
archrelease: copy trunk to community-any
Added:
python-pygithub/repos/community-any/PKGBUILD
(from rev 220836, python-pygithub/trunk/PKGBUILD)
Deleted:
python-pygithub/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-06 03:17:24 UTC (rev 220836)
+++ PKGBUILD 2017-04-06 03:17:41 UTC (rev 220837)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pygithub
-pkgname=('python-pygithub' 'python2-pygithub')
-pkgver=1.33
-pkgrel=1
-pkgdesc="Use the full Github API v3"
-arch=('any')
-license=('LGPL')
-url="http://jacquev6.github.com/PyGithub"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyjwt' 'python2-pyjwt')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyGithub/PyGithub/archive/v$pkgver.tar.gz")
-sha512sums=('e33c8d16cb1ebbd874cb5e0ef4fb9c2a457331a820b44e73a23cddc385600eee341f0ba613cb29c0eab38e0406b26ccaabd637a8ef995e1dc9318241487eb353')
-
-prepare() {
- cp -a PyGithub-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/PyGithub-$pkgver
- python setup.py build
-
- cd "$srcdir"/PyGithub-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/PyGithub-$pkgver
- python setup.py test
-
- cd "$srcdir"/PyGithub-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-pygithub() {
- depends=('python-pyjwt')
-
- cd PyGithub-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pygithub() {
- depends=('python2-pyjwt')
-
- cd PyGithub-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-pygithub/repos/community-any/PKGBUILD (from rev 220836, python-pygithub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-06 03:17:41 UTC (rev 220837)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pygithub
+pkgname=('python-pygithub' 'python2-pygithub')
+pkgver=1.34
+pkgrel=1
+pkgdesc="Use the full Github API v3"
+arch=('any')
+license=('LGPL')
+url="http://jacquev6.github.com/PyGithub"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyjwt' 'python2-pyjwt')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyGithub/PyGithub/archive/v$pkgver.tar.gz")
+sha512sums=('59030fb737d57de6ba49f86fce085a13cb860b7c3ccf3cd76d5c5280ae398945bfc2351ed1e6e014a9fdd6e330ff6d67ed696c60d1f6e187f7c36589daba8aa5')
+
+prepare() {
+ cp -a PyGithub-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/PyGithub-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/PyGithub-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/PyGithub-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/PyGithub-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-pygithub() {
+ depends=('python-pyjwt')
+
+ cd PyGithub-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pygithub() {
+ depends=('python2-pyjwt')
+
+ cd PyGithub-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list