From owner-svn-ports-head@freebsd.org Sun Apr 7 16:50:31 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BD4C1564669; Sun, 7 Apr 2019 16:50:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AE8C9783D; Sun, 7 Apr 2019 16:50:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E4BA4EDFD; Sun, 7 Apr 2019 16:50:30 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x37GoUH3043817; Sun, 7 Apr 2019 16:50:30 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x37GoUjh043812; Sun, 7 Apr 2019 16:50:30 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201904071650.x37GoUjh043812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Sun, 7 Apr 2019 16:50:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498295 - in head/devel: . py-javaproperties py-javaproperties/files X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: in head/devel: . py-javaproperties py-javaproperties/files X-SVN-Commit-Revision: 498295 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1AE8C9783D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2019 16:50:31 -0000 Author: kai Date: Sun Apr 7 16:50:29 2019 New Revision: 498295 URL: https://svnweb.freebsd.org/changeset/ports/498295 Log: New port: devel/py-javaproperties This package provides support for reading & writing Java .properties files (both the simple line-oriented format and XML) with a simple API based on the json module - though, for recovering Java addicts, it also includes a Properties class intended to match the behavior of Java 8's java.util.Properties as much as is Pythonically possible. WWW: https://github.com/jwodder/javaproperties Approved by: mentors (implicit) Added: head/devel/py-javaproperties/ head/devel/py-javaproperties/Makefile (contents, props changed) head/devel/py-javaproperties/distinfo (contents, props changed) head/devel/py-javaproperties/files/ head/devel/py-javaproperties/files/patch-setup.py (contents, props changed) head/devel/py-javaproperties/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Apr 7 16:41:54 2019 (r498294) +++ head/devel/Makefile Sun Apr 7 16:50:29 2019 (r498295) @@ -4681,6 +4681,7 @@ SUBDIR += py-jaraco.logging SUBDIR += py-jaraco.timing SUBDIR += py-jaraco.util + SUBDIR += py-javaproperties SUBDIR += py-jcc SUBDIR += py-jdcal SUBDIR += py-jedi Added: head/devel/py-javaproperties/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-javaproperties/Makefile Sun Apr 7 16:50:29 2019 (r498295) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= javaproperties +DISTVERSION= 0.5.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Read and write Java .properties files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include Added: head/devel/py-javaproperties/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-javaproperties/distinfo Sun Apr 7 16:50:29 2019 (r498295) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550757174 +SHA256 (javaproperties-0.5.1.tar.gz) = 2b0237b054af4d24c74f54734b7d997ca040209a1820e96fb4a82625f7bd40cf +SIZE (javaproperties-0.5.1.tar.gz) = 29150 Added: head/devel/py-javaproperties/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-javaproperties/files/patch-setup.py Sun Apr 7 16:50:29 2019 (r498295) @@ -0,0 +1,12 @@ +--- setup.py.orig 2018-05-25 22:39:16 UTC ++++ setup.py +@@ -3,6 +3,9 @@ import re + from setuptools import setup + + with open(join(dirname(__file__), 'javaproperties', '__init__.py')) as fp: ++ # Workaround for Python 3: ++ # Move a bit forward to get past the unicode characters ++ fp.seek(256) + for line in fp: + m = re.search(r'^\s*__version__\s*=\s*([\'"])([^\'"]+)\1\s*$', line) + if m: Added: head/devel/py-javaproperties/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-javaproperties/pkg-descr Sun Apr 7 16:50:29 2019 (r498295) @@ -0,0 +1,7 @@ +This package provides support for reading & writing Java .properties files (both +the simple line-oriented format and XML) with a simple API based on the json +module - though, for recovering Java addicts, it also includes a Properties +class intended to match the behavior of Java 8's java.util.Properties as much as +is Pythonically possible. + +WWW: https://github.com/jwodder/javaproperties