Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2020 11:00:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524872 - in head/devel/py-iniparse: . files
Message-ID:  <202002021100.012B02LY076694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb  2 11:00:02 2020
New Revision: 524872
URL: https://svnweb.freebsd.org/changeset/ports/524872

Log:
  Update to 0.5
  
  - Add LICENSE
  - Remove DOCS option:
    - README.md is the same as pkg-descr
    - Changelog is almost 10-years old
  - Update pkg-descr
  - Update WWW
  
  Changes:	https://github.com/candlepin/python-iniparse/commits/master

Modified:
  head/devel/py-iniparse/Makefile
  head/devel/py-iniparse/distinfo
  head/devel/py-iniparse/files/patch-setup.py
  head/devel/py-iniparse/pkg-descr

Modified: head/devel/py-iniparse/Makefile
==============================================================================
--- head/devel/py-iniparse/Makefile	Sun Feb  2 10:59:57 2020	(r524871)
+++ head/devel/py-iniparse/Makefile	Sun Feb  2 11:00:02 2020	(r524872)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	iniparse
-PORTVERSION=	0.4
-PORTREVISION=	1
+PORTVERSION=	0.5
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,17 +10,16 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Accessing and Modifying INI files
 
+LICENSE=	MIT PSFL
+LICENSE_COMB=	dual
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE
+LICENSE_FILE_PSFL=	${WRKSRC}/LICENSE-PSF
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
-
-PORTDOCS=	Changelog README
-
-OPTIONS_DEFINE=	DOCS
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/py-iniparse/distinfo
==============================================================================
--- head/devel/py-iniparse/distinfo	Sun Feb  2 10:59:57 2020	(r524871)
+++ head/devel/py-iniparse/distinfo	Sun Feb  2 11:00:02 2020	(r524872)
@@ -1,2 +1,3 @@
-SHA256 (iniparse-0.4.tar.gz) = abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054
-SIZE (iniparse-0.4.tar.gz) = 31278
+TIMESTAMP = 1580562287
+SHA256 (iniparse-0.5.tar.gz) = 932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842
+SIZE (iniparse-0.5.tar.gz) = 32233

Modified: head/devel/py-iniparse/files/patch-setup.py
==============================================================================
--- head/devel/py-iniparse/files/patch-setup.py	Sun Feb  2 10:59:57 2020	(r524871)
+++ head/devel/py-iniparse/files/patch-setup.py	Sun Feb  2 11:00:02 2020	(r524872)
@@ -1,11 +1,11 @@
---- setup.py.orig
+--- setup.py.orig	2020-01-29 13:22:11 UTC
 +++ setup.py
-@@ -30,12 +30,5 @@
-         'Topic :: Software Development :: Libraries :: Python Modules',
+@@ -34,12 +34,5 @@ use.''',
        ],
        packages = ['iniparse'],
+       install_requires=['six'],
 -      data_files = [
--        ('share/doc/iniparse-%s' % VERSION, ['README', 'LICENSE-PSF',
+-        ('share/doc/iniparse-%s' % VERSION, ['README.md', 'LICENSE-PSF',
 -                                             'LICENSE', 'Changelog',
 -                                             'html/index.html',
 -                                             'html/style.css',

Modified: head/devel/py-iniparse/pkg-descr
==============================================================================
--- head/devel/py-iniparse/pkg-descr	Sun Feb  2 10:59:57 2020	(r524871)
+++ head/devel/py-iniparse/pkg-descr	Sun Feb  2 11:00:02 2020	(r524872)
@@ -1,22 +1,17 @@
 iniparse is a INI parser for Python which is:
-    - Compatiable with ConfigParser:
-      Backward compatible implementations of ConfigParser,
-      RawConfigParser, and SafeConfigParser are included that are
-      API-compatible with the Python standard library.
-      They pass all the unit tests in Python-2.4.4.
+- Compatible with ConfigParser: Backward compatible implementations of
+  ConfigParser, RawConfigParser, and SafeConfigParser are included that are
+  API-compatible with the Python standard library.
+- Preserves structure of INI files: Order of sections & options, indentation,
+  comments, and blank lines are preserved as far as possible when data is
+  updated.
+- More convenient: Values can be accessed using dotted notation (cfg.user.name),
+  or using container syntax (cfg['user']['name']).
 
-    - Preserves structure of INI files:
-      Order of sections & options, indentation, comments, and blank
-      lines are preserved as far as possible when data is updated.
-
-    - More convenient:
-      Values can be accessed using dotted notation (cfg.user.name),
-      or using container syntax (cfg['user']['name']).
-
 It is very useful for config files that are updated both by users and by
-programs, since it is very disorienting for a user to have her config
-file completely rearranged whenever a program changes it. iniparse also
-allows making the order of entries in a config file significant, which is
-desirable in applications like image galleries.
+programs, since it is very disorienting for a user to have her config file
+completely rearranged whenever a program changes it. iniparse also allows making
+the order of entries in a config file significant, which is desirable in
+applications like image galleries.
 
-WWW: http://code.google.com/p/iniparse/
+WWW: https://github.com/candlepin/python-iniparse



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