[arch-commits] Commit in pyxdg/repos (3 files)

Eric Bélanger eric at archlinux.org
Wed Jul 4 04:22:17 UTC 2012


    Date: Wednesday, July 4, 2012 @ 00:22:17
  Author: eric
Revision: 162964

db-move: moved pyxdg from [testing] to [extra] ( any)

Added:
  pyxdg/repos/extra-any/PKGBUILD
    (from rev 162963, pyxdg/repos/testing-any/PKGBUILD)
Deleted:
  pyxdg/repos/extra-any/PKGBUILD
  pyxdg/repos/testing-any/

----------+
 PKGBUILD |   51 ++++++++++++++++++++++++++++++++-------------------
 1 file changed, 32 insertions(+), 19 deletions(-)

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD	2012-07-04 04:01:30 UTC (rev 162963)
+++ extra-any/PKGBUILD	2012-07-04 04:22:17 UTC (rev 162964)
@@ -1,19 +0,0 @@
-# $Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
-# Contributor: Mario A. Vazquez <mario_vazq at hotmail.com>
-
-pkgname=pyxdg
-pkgver=0.19
-pkgrel=3
-pkgdesc="Python library to access freedesktop.org standards."
-arch=('any')
-url="http://freedesktop.org/Software/pyxdg"
-license=("LGPL")
-depends=('python2')
-source=("http://www.freedesktop.org/~lanius/${pkgname}-${pkgver}.tar.gz")
-md5sums=('9f33542e846d0fc1e0bfa992a8555b0a')
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  python2 setup.py install --prefix=/usr --root=${pkgdir}
-}

Copied: pyxdg/repos/extra-any/PKGBUILD (from rev 162963, pyxdg/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-07-04 04:22:17 UTC (rev 162964)
@@ -0,0 +1,32 @@
+# $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.20
+pkgrel=1
+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")
+sha1sums=('fdb6237428b18019787babe12dfa1860b38da02e')
+
+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}"
+}




More information about the arch-commits mailing list