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

Lukas Fleischer lfleischer at archlinux.org
Sun Apr 5 19:56:29 UTC 2020


    Date: Sunday, April 5, 2020 @ 19:56:29
  Author: lfleischer
Revision: 379609

upgpkg: pyxdg 0.26-5: rename python{,2}-xdg to python{,2}-pyxdg

Modified:
  pyxdg/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-05 19:56:05 UTC (rev 379608)
+++ PKGBUILD	2020-04-05 19:56:29 UTC (rev 379609)
@@ -3,9 +3,9 @@
 # Contributor: Mario A. Vazquez <mario_vazq at hotmail.com>
 
 pkgbase=pyxdg
-pkgname=('python2-xdg' 'python-xdg')
+pkgname=('python2-pyxdg' 'python-pyxdg')
 pkgver=0.26
-pkgrel=4
+pkgrel=5
 pkgdesc="Python library to access freedesktop.org standards"
 arch=('any')
 url="http://freedesktop.org/Software/pyxdg"
@@ -15,18 +15,21 @@
 sha1sums=('904b336596167b8e4a829d77ec4107d5d2e200a6')
 validpgpkeys=('6391296E3F25C0A721C1F1AFAF88B3AC5DECB224') # Thomas Kluyver
 
-package_python2-xdg() {
+package_python2-pyxdg() {
   depends=('python2')
-  conflicts=('pyxdg')
-  provides=('pyxdg')
-  replaces=('pyxdg')
+  conflicts=('pyxdg' 'python2-xdg')
+  provides=('pyxdg' 'python2-xdg')
+  replaces=('pyxdg' 'python2-xdg')
 
   cd "${srcdir}/${pkgbase}-${pkgver}"
   python2 setup.py install --prefix=/usr --root="${pkgdir}"
 }
 
-package_python-xdg() {
+package_python-pyxdg() {
   depends=('python')
+  conflicts=('python-xdg')
+  provides=('python-xdg')
+  replaces=('python-xdg')
 
   cd "${srcdir}/${pkgbase}-${pkgver}"
   python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1



More information about the arch-commits mailing list