[arch-commits] Commit in python-sane/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 10:16:22
  Author: felixonmars
Revision: 751517

upgpkg: python-sane 2.8.3-6: Python 3.9 rebuild

Modified:
  python-sane/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 10:16:06 UTC (rev 751516)
+++ PKGBUILD2020-11-12 10:16:22 UTC (rev 751517)
@@ -2,7 +2,7 @@
 
 pkgname=python-sane
 pkgver=2.8.3
-pkgrel=5
+pkgrel=6
 pkgdesc="Python interface to the SANE scanner and frame grabber."
 arch=('x86_64')
 url="https://python-sane.readthedocs.io/en/latest/;


[arch-commits] Commit in python-sane/trunk (PKGBUILD)

2020-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 05:00:09
  Author: felixonmars
Revision: 749221

upgpkg: python-sane 2.8.3-5: Python 3.9 rebuild

Modified:
  python-sane/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 04:59:59 UTC (rev 749220)
+++ PKGBUILD2020-11-10 05:00:09 UTC (rev 749221)
@@ -2,7 +2,7 @@
 
 pkgname=python-sane
 pkgver=2.8.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Python interface to the SANE scanner and frame grabber."
 arch=('x86_64')
 url="https://python-sane.readthedocs.io/en/latest/;


[arch-commits] Commit in python-sane/trunk (PKGBUILD)

2020-02-08 Thread Jelle van der Waa via arch-commits
Date: Saturday, February 8, 2020 @ 21:33:30
  Author: jelle
Revision: 565017

upgpkg: python-sane 2.8.3-4

Remove unrequired python2 module

Modified:
  python-sane/trunk/PKGBUILD

--+
 PKGBUILD |   20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-08 21:31:05 UTC (rev 565016)
+++ PKGBUILD2020-02-08 21:33:30 UTC (rev 565017)
@@ -1,15 +1,14 @@
 # Maintainer: Kyle Keen 
 
-pkgbase=python-sane
-pkgname=(python-sane python2-sane)
+pkgname=python-sane
 pkgver=2.8.3
-pkgrel=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')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('sane' 'python')
+makedepends=('python-setuptools')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-pillow/Sane/archive/v${pkgver}.tar.gz;)
 sha256sums=('1c3aa1c246007e9e6f7b11ca2c98256ebefed66f4ff13dcf38179c721677022f')
 
@@ -16,19 +15,10 @@
 build() {
   cd "${srcdir}"/Sane-${pkgver}
   python setup.py build
-  python2 setup.py build
 }
 
-package_python-sane() {
-  depends+=('python')
+package() {
   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"
-}


[arch-commits] Commit in python-sane/trunk (PKGBUILD)

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 07:43:41
  Author: felixonmars
Revision: 523554

Python 3.8 rebuild

Modified:
  python-sane/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 07:42:58 UTC (rev 523553)
+++ PKGBUILD2019-11-04 07:43:41 UTC (rev 523554)
@@ -3,7 +3,7 @@
 pkgbase=python-sane
 pkgname=(python-sane python2-sane)
 pkgver=2.8.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Python interface to the SANE scanner and frame grabber."
 arch=('x86_64')
 url="https://python-sane.readthedocs.io/en/latest/;


[arch-commits] Commit in python-sane/trunk (PKGBUILD)

2018-07-23 Thread Evangelos Foutras via arch-commits
Date: Monday, July 23, 2018 @ 15:33:16
  Author: foutrelis
Revision: 363031

Python 3.7 rebuild

Modified:
  python-sane/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-23 15:32:55 UTC (rev 363030)
+++ PKGBUILD2018-07-23 15:33:16 UTC (rev 363031)
@@ -4,7 +4,7 @@
 pkgbase=python-sane
 pkgname=(python-sane python2-sane)
 pkgver=2.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Python interface to the SANE scanner and frame grabber."
 arch=('x86_64')
 url="https://python-sane.readthedocs.io/en/latest/;