Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 16:42:13 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347043 - in head/devel/py-xdg: . files
Message-ID:  <201403041642.s24GgD8I000564@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Mar  4 16:42:12 2014
New Revision: 347043
URL: http://svnweb.freebsd.org/changeset/ports/347043
QAT: https://qat.redports.org/buildarchive/r347043/

Log:
  Update to 0.25.
  
  Add license. pkg-descr WWW tab->space.

Added:
  head/devel/py-xdg/files/patch-xdg_BaseDirectory.py
     - copied, changed from r346932, head/devel/py-xdg/files/patch-xdg::BaseDirectory.py
Deleted:
  head/devel/py-xdg/files/patch-xdg::BaseDirectory.py
Modified:
  head/devel/py-xdg/Makefile
  head/devel/py-xdg/distinfo
  head/devel/py-xdg/pkg-descr

Modified: head/devel/py-xdg/Makefile
==============================================================================
--- head/devel/py-xdg/Makefile	Tue Mar  4 16:39:32 2014	(r347042)
+++ head/devel/py-xdg/Makefile	Tue Mar  4 16:42:12 2014	(r347043)
@@ -3,15 +3,16 @@
 #   $MCom: ports/devel/py-xdg/Makefile,v 1.4 2007/09/10 05:35:05 mezz Exp $
 
 PORTNAME=	xdg
-PORTVERSION=	0.19
-PORTREVISION=	1
+PORTVERSION=	0.25
 CATEGORIES=	devel python
-MASTER_SITES=	http://people.freedesktop.org/~lanius/
+MASTER_SITES=	http://people.freedesktop.org/~takluyver/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	py${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	gnome@FreeBSD.org
-COMMENT=	A python library to access freedesktop.org standards
+COMMENT=	Python 2 library to access freedesktop.org standards
+
+LICENSE=	LGPL20
 
 USE_PYTHON=	2
 USE_PYDISTUTILS=yes

Modified: head/devel/py-xdg/distinfo
==============================================================================
--- head/devel/py-xdg/distinfo	Tue Mar  4 16:39:32 2014	(r347042)
+++ head/devel/py-xdg/distinfo	Tue Mar  4 16:42:12 2014	(r347043)
@@ -1,2 +1,2 @@
-SHA256 (pyxdg-0.19.tar.gz) = 99cf27e00f1484eeeea31aa47de52644284dca34adf73b715e87fb0a3b8d4ad5
-SIZE (pyxdg-0.19.tar.gz) = 38170
+SHA256 (pyxdg-0.25.tar.gz) = 81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d
+SIZE (pyxdg-0.25.tar.gz) = 48935

Copied and modified: head/devel/py-xdg/files/patch-xdg_BaseDirectory.py (from r346932, head/devel/py-xdg/files/patch-xdg::BaseDirectory.py)
==============================================================================
--- head/devel/py-xdg/files/patch-xdg::BaseDirectory.py	Mon Mar  3 16:53:06 2014	(r346932, copy source)
+++ head/devel/py-xdg/files/patch-xdg_BaseDirectory.py	Tue Mar  4 16:42:12 2014	(r347043)
@@ -1,18 +1,18 @@
---- xdg/BaseDirectory.py.orig	2008-03-02 08:56:26.000000000 -0500
-+++ xdg/BaseDirectory.py	2008-08-16 14:56:01.000000000 -0400
-@@ -33,13 +33,13 @@ xdg_data_home = os.environ.get('XDG_DATA
-             os.path.join(_home, '.local', 'share'))
+--- 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', '/usr/local/share:/usr/share').split(':')
-+    os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share').split(':')
+-    (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',
-             os.path.join(_home, '.config'))
+ 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', '/etc/xdg').split(':')
-+    os.environ.get('XDG_CONFIG_DIRS', '%%LOCALBASE%%/etc/xdg').split(':')
+-    (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',
-             os.path.join(_home, '.cache'))
+ xdg_cache_home = os.environ.get('XDG_CACHE_HOME') or \
+             os.path.join(_home, '.cache')

Modified: head/devel/py-xdg/pkg-descr
==============================================================================
--- head/devel/py-xdg/pkg-descr	Tue Mar  4 16:39:32 2014	(r347042)
+++ head/devel/py-xdg/pkg-descr	Tue Mar  4 16:42:12 2014	(r347043)
@@ -8,4 +8,4 @@ Currently supported are:
  o Recent File Spec
  o Shared-MIME-Database Specification
 
-WWW:	http://freedesktop.org/Software/pyxdg
+WWW: http://freedesktop.org/Software/pyxdg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403041642.s24GgD8I000564>