[arch-commits] Commit in pyxdg/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:26:29 UTC 2019
Date: Friday, October 25, 2019 @ 15:26:27
Author: felixonmars
Revision: 365622
archrelease: copy trunk to staging-any
Added:
pyxdg/repos/staging-any/
pyxdg/repos/staging-any/PKGBUILD
(from rev 365621, pyxdg/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: pyxdg/repos/staging-any/PKGBUILD (from rev 365621, pyxdg/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-10-25 15:26:27 UTC (rev 365622)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: Mario A. Vazquez <mario_vazq at hotmail.com>
+
+pkgbase=pyxdg
+pkgname=('python2-xdg' 'python-xdg')
+pkgver=0.26
+pkgrel=3
+pkgdesc="Python library to access freedesktop.org standards"
+arch=('any')
+url="http://freedesktop.org/Software/pyxdg"
+license=("LGPL")
+makedepends=('python2' 'python')
+source=("https://files.pythonhosted.org/packages/source/${pkgbase::1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
+sha1sums=('904b336596167b8e4a829d77ec4107d5d2e200a6')
+validpgpkeys=('6391296E3F25C0A721C1F1AFAF88B3AC5DECB224') # Thomas Kluyver
+
+package_python2-xdg() {
+ depends=('python2')
+ conflicts=('pyxdg')
+ provides=('pyxdg')
+ replaces=('pyxdg')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+package_python-xdg() {
+ depends=('python')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list