[arch-commits] Commit in python-sane/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Feb 8 21:34:24 UTC 2020


    Date: Saturday, February 8, 2020 @ 21:34:23
  Author: jelle
Revision: 565020

archrelease: copy trunk to community-x86_64

Added:
  python-sane/repos/community-x86_64/PKGBUILD
    (from rev 565019, python-sane/trunk/PKGBUILD)
Deleted:
  python-sane/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++----------------------------------
 1 file changed, 24 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-08 21:34:12 UTC (rev 565019)
+++ PKGBUILD	2020-02-08 21:34:23 UTC (rev 565020)
@@ -1,34 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-sane
-pkgname=(python-sane python2-sane)
-pkgver=2.8.3
-pkgrel=3
-pkgdesc="Python interface to the SANE scanner and frame grabber."
-arch=('x86_64')
-url="https://python-sane.readthedocs.io/en/latest/"
-license=('MIT')
-depends=('sane')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-pillow/Sane/archive/v${pkgver}.tar.gz")
-sha256sums=('1c3aa1c246007e9e6f7b11ca2c98256ebefed66f4ff13dcf38179c721677022f')
-
-build() {
-  cd "${srcdir}"/Sane-${pkgver}
-  python setup.py build
-  python2 setup.py build
-}
-
-package_python-sane() {
-  depends+=('python')
-  cd "${srcdir}"/Sane-${pkgver}
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
-
-package_python2-sane() {
-  depends+=('python2')
-  cd "${srcdir}"/Sane-${pkgver}
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}

Copied: python-sane/repos/community-x86_64/PKGBUILD (from rev 565019, python-sane/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-08 21:34:23 UTC (rev 565020)
@@ -0,0 +1,24 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-sane
+pkgver=2.8.3
+pkgrel=4
+pkgdesc="Python interface to the SANE scanner and frame grabber."
+arch=('x86_64')
+url="https://python-sane.readthedocs.io/en/latest/"
+license=('MIT')
+depends=('sane' 'python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-pillow/Sane/archive/v${pkgver}.tar.gz")
+sha256sums=('1c3aa1c246007e9e6f7b11ca2c98256ebefed66f4ff13dcf38179c721677022f')
+
+build() {
+  cd "${srcdir}"/Sane-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}"/Sane-${pkgver}
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list