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

Bruno Pagani archange at gemini.archlinux.org
Sat Apr 30 12:23:46 UTC 2022


    Date: Saturday, April 30, 2022 @ 12:23:45
  Author: archange
Revision: 1191922

upgpkg: displaycal 3.9.1-1

Python 3 port

Modified:
  displaycal/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 12:20:49 UTC (rev 1191921)
+++ PKGBUILD	2022-04-30 12:23:45 UTC (rev 1191922)
@@ -5,27 +5,28 @@
 
 _pkgname=DisplayCAL
 pkgname=displaycal
-pkgver=3.8.9.3
+pkgver=3.9.1
 pkgrel=1
 pkgdesc="Open Source Display Calibration and Characterization powered by Argyll CMS (Formerly known as dispcalGUI)"
 arch=(x86_64)
-url="https://displaycal.net/"
+url="https://github.com/eoyilmaz/displaycal-py3"
 license=(GPL3)
-depends=(argyllcms python2-wxpython3 python2-numpy python2-gobject)
-makedepends=(libx11 libxrandr libxinerama libxxf86vm python2-setuptools)
+depends=(argyllcms dbus dbus-python glib2 python-certifi python-numpy
+         python-pillow python-send2trash python-wxpython python-zeroconf)
+makedepends=(libxrandr libxxf86vm python-build python-setuptools)
 optdepends=('gnome-color-manager: profile installation for GNOME'
             'colord-kde: profile installation for KDE Plasma')
-source=("https://downloads.sourceforge.net/dispcalgui/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('7c34dfbd9f66f24f1d4c88de4a5a0de688aad719f095874b6259637d30893bea')
+source=(${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz)
+sha256sums=('899cc47118f11ebe2965aa9bd3abcff7a0ebbe185bdbb61f0a57664922d0bc27')
 
 build() {
   cd ${_pkgname}-${pkgver}
-  python2 setup.py build
+  python setup.py build
 }
 
 package() {
   cd ${_pkgname}-${pkgver}
-  python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
+  python setup.py install --root="${pkgdir}" --skip-build --optimize=1
   # udev rules are shipped with argyllcms
   rm -r "${pkgdir}"/etc/udev/
 }



More information about the arch-commits mailing list