[Midnightbsd-cvs] mports [18136] trunk/devel: add python xdg
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 14 10:13:03 EDT 2015
Revision: 18136
http://svnweb.midnightbsd.org/mports/?rev=18136
Author: laffer1
Date: 2015-03-14 10:13:02 -0400 (Sat, 14 Mar 2015)
Log Message:
-----------
add python xdg
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/py3-xdg/
trunk/devel/py3-xdg/Makefile
trunk/devel/py3-xdg/distinfo
trunk/devel/py3-xdg/files/
trunk/devel/py3-xdg/files/patch-xdg_BaseDirectory.py
trunk/devel/py3-xdg/pkg-descr
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-03-14 14:12:51 UTC (rev 18135)
+++ trunk/devel/Makefile 2015-03-14 14:13:02 UTC (rev 18136)
@@ -417,6 +417,7 @@
SUBDIR += py-xdg
SUBDIR += py-yaml
SUBDIR += py3-dbus
+SUBDIR += py3-xdg
SUBDIR += pydbus-common
SUBDIR += qca
SUBDIR += qgit
Added: trunk/devel/py3-xdg/Makefile
===================================================================
--- trunk/devel/py3-xdg/Makefile (rev 0)
+++ trunk/devel/py3-xdg/Makefile 2015-03-14 14:13:02 UTC (rev 18136)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+
+PORTNAME= xdg
+PORTVERSION= 0.25
+CATEGORIES= devel python
+MASTER_SITES= http://people.freedesktop.org/~takluyver/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Python 3 library to access freedesktop.org standards
+
+LICENSE= lgpl
+
+USES= python:3
+USE_PYTHON= distutils autoplist
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/xdg/BaseDirectory.py
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/py3-xdg/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-xdg/distinfo
===================================================================
--- trunk/devel/py3-xdg/distinfo (rev 0)
+++ trunk/devel/py3-xdg/distinfo 2015-03-14 14:13:02 UTC (rev 18136)
@@ -0,0 +1,2 @@
+SHA256 (pyxdg-0.25.tar.gz) = 81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d
+SIZE (pyxdg-0.25.tar.gz) = 48935
Property changes on: trunk/devel/py3-xdg/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-xdg/files/patch-xdg_BaseDirectory.py
===================================================================
--- trunk/devel/py3-xdg/files/patch-xdg_BaseDirectory.py (rev 0)
+++ trunk/devel/py3-xdg/files/patch-xdg_BaseDirectory.py 2015-03-14 14:13:02 UTC (rev 18136)
@@ -0,0 +1,18 @@
+--- xdg/BaseDirectory.py.orig 2012-12-06 22:07:26.000000000 +0100
++++ xdg/BaseDirectory.py 2014-03-04 17:22:23.000000000 +0100
+@@ -32,13 +32,13 @@
+ os.path.join(_home, '.local', 'share')
+
+ xdg_data_dirs = [xdg_data_home] + \
+- (os.environ.get('XDG_DATA_DIRS') or '/usr/local/share:/usr/share').split(':')
++ (os.environ.get('XDG_DATA_DIRS') or '%%LOCALBASE%%/share').split(':')
+
+ xdg_config_home = os.environ.get('XDG_CONFIG_HOME') or \
+ os.path.join(_home, '.config')
+
+ xdg_config_dirs = [xdg_config_home] + \
+- (os.environ.get('XDG_CONFIG_DIRS') or '/etc/xdg').split(':')
++ (os.environ.get('XDG_CONFIG_DIRS') or '%%LOCALBASE%%/etc/xdg').split(':')
+
+ xdg_cache_home = os.environ.get('XDG_CACHE_HOME') or \
+ os.path.join(_home, '.cache')
Property changes on: trunk/devel/py3-xdg/files/patch-xdg_BaseDirectory.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-xdg/pkg-descr
===================================================================
--- trunk/devel/py3-xdg/pkg-descr (rev 0)
+++ trunk/devel/py3-xdg/pkg-descr 2015-03-14 14:13:02 UTC (rev 18136)
@@ -0,0 +1,11 @@
+A python library to access freedesktop.org standards.
+
+Currently supported are:
+ o Base Directory Specification
+ o Menu Specification
+ o Desktop Entry Specification
+ o Icon Theme Specification
+ o Recent File Spec
+ o Shared-MIME-Database Specification
+
+WWW: http://freedesktop.org/Software/pyxdg
Property changes on: trunk/devel/py3-xdg/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list