[arch-commits] Commit in python-pygithub/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 12:27:49 UTC 2019


    Date: Tuesday, April 2, 2019 @ 12:27:48
  Author: felixonmars
Revision: 447646

archrelease: copy trunk to community-any

Added:
  python-pygithub/repos/community-any/PKGBUILD
    (from rev 447644, python-pygithub/trunk/PKGBUILD)
Deleted:
  python-pygithub/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++---------------------------------------
 1 file changed, 28 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 12:27:46 UTC (rev 447645)
+++ PKGBUILD	2019-04-02 12:27:48 UTC (rev 447646)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pygithub
-pkgname=('python-pygithub' 'python2-pygithub')
-pkgver=1.43.5
-pkgrel=1
-pkgdesc="Use the full Github API v3"
-arch=('any')
-license=('LGPL')
-url="https://github.com/PyGithub/PyGithub"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyjwt' 'python2-pyjwt'
-             'python-requests' 'python2-requests' 'python-deprecated' 'python2-deprecated')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyGithub/PyGithub/archive/v$pkgver.tar.gz")
-sha512sums=('703de65539c1e2af4462285d1788611d98a4052fcf223b54795da34679d1e327de8758d895d73b707f87f8a006171bc5c6b8182388ac6fde3808be8af6021dde')
-
-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' 'python-requests' 'python-deprecated')
-
-  cd PyGithub-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pygithub() {
-  depends=('python2-pyjwt' 'python2-requests' 'python2-deprecated')
-
-  cd PyGithub-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-pygithub/repos/community-any/PKGBUILD (from rev 447644, python-pygithub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 12:27:48 UTC (rev 447646)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pygithub
+pkgver=1.43.5
+pkgrel=2
+pkgdesc="Use the full Github API v3"
+arch=('any')
+license=('LGPL')
+url="https://github.com/PyGithub/PyGithub"
+depends=('python-pyjwt' 'python-requests' 'python-deprecated')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyGithub/PyGithub/archive/v$pkgver.tar.gz")
+sha512sums=('703de65539c1e2af4462285d1788611d98a4052fcf223b54795da34679d1e327de8758d895d73b707f87f8a006171bc5c6b8182388ac6fde3808be8af6021dde')
+
+build() {
+  cd PyGithub-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd PyGithub-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd PyGithub-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list