[arch-commits] Commit in pycups/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Mon Apr 27 06:36:27 UTC 2020
Date: Monday, April 27, 2020 @ 06:36:26
Author: andyrtr
Revision: 381658
archrelease: copy trunk to extra-x86_64
Added:
pycups/repos/extra-x86_64/PKGBUILD
(from rev 381657, pycups/trunk/PKGBUILD)
Deleted:
pycups/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++---------------------------------------
1 file changed, 25 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-27 06:36:17 UTC (rev 381657)
+++ PKGBUILD 2020-04-27 06:36:26 UTC (rev 381658)
@@ -1,42 +0,0 @@
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: nesl247 <nesl247 at gmail.com>
-
-pkgbase=pycups
-pkgname=('python2-pycups' 'python-pycups')
-pkgver=1.9.74
-pkgrel=3
-arch=('x86_64')
-url="http://cyberelk.net/tim/software/pycups/"
-license=('GPL')
-makedepends=('libcups' 'python2' 'python')
-source=(https://github.com/zdohnal/pycups/archive/${pkgver}.tar.gz)
-sha256sums=('d5b5e4058757d1c090c85ed2ee7e5c2c1785976dc934a6144dbf425398304850')
-validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' # Tim Waugh
- '4629AFE960EC20BEC12E3104B7C20D079491EA63') # Tim Waugh <twaugh at redhat.com>
-
-prepare() {
- cp -a ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-python2
-}
-
-build() {
- cd ${pkgbase}-${pkgver}
- python setup.py build
- cd "${srcdir}"/${pkgbase}-${pkgver}-python2
- python2 setup.py build
-}
-
-package_python2-pycups() {
- pkgdesc="Python 2 CUPS Bindings"
- depends=('libcups' 'python2')
-
- cd ${pkgbase}-${pkgver}-python2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python-pycups() {
- pkgdesc="Python 3 CUPS Bindings"
- depends=('libcups' 'python')
-
- cd ${pkgbase}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: pycups/repos/extra-x86_64/PKGBUILD (from rev 381657, pycups/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-27 06:36:26 UTC (rev 381658)
@@ -0,0 +1,25 @@
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: nesl247 <nesl247 at gmail.com>
+
+pkgbase=pycups
+pkgname=('python-pycups')
+pkgver=2.0.1
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/OpenPrinting/pycups"
+license=('GPL')
+pkgdesc="Python bindings for libcups"
+depends=('libcups' 'python')
+provides=('pycups')
+source=(https://github.com/OpenPrinting/pycups/archive/v${pkgver}.tar.gz)
+sha256sums=('cf7e63b07e2dbc6811e77f55cc11d7191799298a6565b83fc028ee3c9da0ad78')
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${pkgbase}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list