[arch-commits] Commit in pyxdg/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 20 01:44:01 UTC 2015


    Date: Sunday, September 20, 2015 @ 03:44:00
  Author: foutrelis
Revision: 246713

archrelease: copy trunk to staging-any

Added:
  pyxdg/repos/staging-any/
  pyxdg/repos/staging-any/PKGBUILD
    (from rev 246712, pyxdg/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: pyxdg/repos/staging-any/PKGBUILD (from rev 246712, pyxdg/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2015-09-20 01:44:00 UTC (rev 246713)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Hugo Doria <hugo at archlinux.org>
+# Contributor: Mario A. Vazquez <mario_vazq at hotmail.com>
+
+pkgbase=pyxdg
+pkgname=('python2-xdg' 'python-xdg')
+pkgver=0.25
+pkgrel=3
+pkgdesc="Python library to access freedesktop.org standards"
+arch=('any')
+url="http://freedesktop.org/Software/pyxdg"
+license=("LGPL")
+makedepends=('python2' 'python')
+source=(http://www.freedesktop.org/~takluyver/${pkgbase}-${pkgver}.tar.gz{,.asc})
+sha1sums=('1272ee62b8c3909ac4844a34a95f8b1fb3398af2'
+          'b5ec82567cc4d7bcf3a151eaf70c42dd3ed5b194')
+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