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

Jaroslav Lichtblau jlichtblau at gemini.archlinux.org
Sun Jan 30 11:12:58 UTC 2022


    Date: Sunday, January 30, 2022 @ 11:12:57
  Author: jlichtblau
Revision: 1120218

upgpkg: python-gphoto2 2.3.0-1 - new upstream release

Modified:
  python-gphoto2/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-30 11:04:32 UTC (rev 1120217)
+++ PKGBUILD	2022-01-30 11:12:57 UTC (rev 1120218)
@@ -2,20 +2,26 @@
 # Contributor: Francois Boulogne <fboulogne at april dot org>
 
 pkgname=python-gphoto2
-pkgver=2.2.4
-pkgrel=4
+pkgver=2.3.0
+pkgrel=1
 pkgdesc="Python interface to libgphoto2"
 arch=('x86_64')
 url="https://github.com/jim-easterbrook/python-gphoto2"
 license=('GPL3')
 depends=('libgphoto2' 'python')
-makedepends=('swig')
+makedepends=('swig' 'python-setuptools')
 source=($pkgname-$pkgver.tar.gz::https://github.com/jim-easterbrook/$pkgname/archive/v$pkgver.tar.gz)
-sha256sums=('f79df226e61b308077ce2fd2f2922a2c6f68871e7504ddc98057c2063afe5c91')
+sha256sums=('533bdc8ba0d551183de656d2060fc5b06573f216c532304a5fc9de867d2a328b')
 
+prepare() {
+  cd $pkgname-$pkgver
+#https://github.com/jim-easterbrook/python-gphoto2/issues/136
+  python developer/build_swig.py system
+}
+
 build() {
   cd $pkgname-$pkgver
-  python setup.py build_swig
+#   python setup.py build_swig system
   python setup.py build
 }
 



More information about the arch-commits mailing list