[Lunar-commits] <moonbase-other> pyxdg: bump to 0.25 and making adjustments to use Python-3
Dennis Veatch
dennisveatch at bellsouth.net
Thu Oct 9 22:46:48 CEST 2014
commit 918cd6f18e3065b98fe4f88d35d41a5c92f38e1e
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 09 Oct 2014 16:46:19 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/918cd6f18e3065b98fe4f88d35d41a5c92f38e1e
pyxdg: bump to 0.25 and making adjustments to use Python-3
---
python/pyxdg/BUILD | +8/-4
python/pyxdg/DEPENDS | +2/-0
python/pyxdg/DETAILS | +5/-5
3 files changed, 15 insertions(+), 9 deletions(-)
--- a/python/pyxdg/BUILD
+++ b/python/pyxdg/BUILD
@@ -1,6 +1,10 @@
-(
-
+
+# Python2 here
prepare_install &&
- python setup.py install
+ python setup.py install &&
-) > $C_FIFO 2>&1
+#Python-3 here
+ if in_depends $MODULE Python-3 ; then
+ prepare_install &&
+ python3 setup.py install
+ fi
--- a/python/pyxdg/DEPENDS
+++ b/python/pyxdg/DEPENDS
@@ -1 +1,3 @@
depends Python
+
+optional_depends Python-3 "" "" "For python3 bindings support"
--- a/python/pyxdg/DETAILS
+++ b/python/pyxdg/DETAILS
@@ -1,11 +1,11 @@
MODULE=pyxdg
- VERSION=0.19
+ VERSION=0.25
SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE_URL=http://www.freedesktop.org/~lanius
- SOURCE_VFY=sha1:71162cf78c2fd0152d795ebe57984fc48226249b
- WEB_SITE=http://freedesktop.org/wiki/Software_2fpyxdg
+ SOURCE_URL=http://people.freedesktop.org/~takluyver
+ SOURCE_VFY=sha1:1272ee62b8c3909ac4844a34a95f8b1fb3398af2
+ WEB_SITE=http://freedesktop.org/wiki/Software/pyxdg
ENTERED=20070321
- UPDATED=20100218
+ UPDATED=20141009
SHORT="Python bindings for the XDG libraries"
cat << EOF
More information about the Lunar-commits
mailing list