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

Balló György bgyorgy at archlinux.org
Thu Mar 7 00:18:04 UTC 2019


    Date: Thursday, March 7, 2019 @ 00:18:03
  Author: bgyorgy
Revision: 437969

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   60 +++++++++++++++++++++++-------------------------------------
 1 file changed, 23 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-07 00:17:57 UTC (rev 437968)
+++ PKGBUILD	2019-03-07 00:18:03 UTC (rev 437969)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Muges <git at muges.fr>
-# Contributor: Alexis "Horgix" Chotad <alexis.horgix.chotard at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-# Contributor: Markus Golser <elmargol at googlemail.com>
-
-_pkgbase=mygpoclient
-pkgbase=python-$_pkgbase
-pkgname=(python-mygpoclient python2-mygpoclient)
-pkgver=1.8
-pkgrel=2
-pkgdesc='Python client Library for the gpodder.net web service'
-arch=(any)
-url='https://github.com/gpodder/mygpoclient'
-license=(GPL3)
-depends=(python python2)
-source=($pkgbase-$pkgver.tar.gz::https://github.com/gpodder/$_pkgbase/archive/$pkgver.tar.gz)
-sha256sums=('65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2')
-
-package_python-mygpoclient() {
-  depends=(python)
-
-  cd $_pkgbase-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-mygpoclient() {
-  depends=(python2)
-
-  cd $_pkgbase-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  for file in "$pkgdir"/usr/bin/*; do mv "$file" "${file}2"; done
-  mv "$pkgdir"/usr/share/man/man1/mygpo-bpsync{,2}.1
-}

Copied: python-mygpoclient/repos/community-any/PKGBUILD (from rev 437968, python-mygpoclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-07 00:18:03 UTC (rev 437969)
@@ -0,0 +1,23 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Muges <git at muges.fr>
+# Contributor: Alexis "Horgix" Chotad <alexis.horgix.chotard at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Markus Golser <elmargol at googlemail.com>
+
+_pkgname=mygpoclient
+pkgname=python-$_pkgname
+pkgver=1.8
+pkgrel=3
+pkgdesc='Python client Library for the gpodder.net web service'
+arch=(any)
+url='https://github.com/gpodder/mygpoclient'
+license=(GPL3)
+depends=(python)
+source=($pkgname-$pkgver.tar.gz::https://github.com/gpodder/$_pkgname/archive/$pkgver.tar.gz)
+sha256sums=('65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2')
+
+package() {
+  cd $_pkgname-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list