ports/174318: New port: dns/py-idnkit2 update from 2.1 to 2.2
Rafal Lesniak
fbsd at grid.einherjar.de
Mon Dec 10 07:00:00 UTC 2012
>Number: 174318
>Category: ports
>Synopsis: New port: dns/py-idnkit2 update from 2.1 to 2.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 10 07:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Rafal Lesniak
>Release:
>Organization:
CreativeNet Service GmbH
>Environment:
>Description:
Update port-tree to newer version of py-idnkit2 - 2.1 to 2.2
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-idnkit2
# py-idnkit2/Makefile
# py-idnkit2/distinfo
# py-idnkit2/pkg-descr
# py-idnkit2/files
# py-idnkit2/files/patch-setup.py
#
echo c - py-idnkit2
mkdir -p py-idnkit2 > /dev/null 2>&1
echo x - py-idnkit2/Makefile
sed 's/^X//' >py-idnkit2/Makefile << '6014c7a321c2d29edb7d2c6ec78790c5'
X# New ports collection makefile for: idnkit
X# Date created: 13 November 2011
X# Whom: Rafal Lesniak <fbsd at grid.einherjar.de>
X#
X# $FreeBSD: ports/dns/py-idnkit2/Makefile,v 1.3 2012/11/17 05:57:10 svnexp Exp $
X
XPORTNAME= idnkit-python
XPORTVERSION= 2.2
XCATEGORIES= dns
XMASTER_SITES= http://jprs.co.jp/idn/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= fbsd at grid.einherjar.de
XCOMMENT= Python bindings for Internationalized Domain Name toolkit 2
X
XBUILD_DEPENDS= idnkit2>=2.2:${PORTSDIR}/dns/idnkit2
XLIB_DEPENDS= idnkitlite.2:${PORTSDIR}/dns/idnkit2
X
XUSE_BZIP2= yes
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
X
XPLIST_FILES= %%PYTHON_SITELIBDIR%%/idnkit.so
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
X ${WRKSRC}/setup.py
X
X.include <bsd.port.mk>
6014c7a321c2d29edb7d2c6ec78790c5
echo x - py-idnkit2/distinfo
sed 's/^X//' >py-idnkit2/distinfo << '0fffd7638a1473cb5ad47c5f6d9b69c7'
XSHA256 (idnkit-python-2.2.tar.bz2) = a5851831386f24374c7b18eae886f95a21d28bc9439dc3779676d7b2dd8a9909
XSIZE (idnkit-python-2.2.tar.bz2) = 31331
0fffd7638a1473cb5ad47c5f6d9b69c7
echo x - py-idnkit2/pkg-descr
sed 's/^X//' >py-idnkit2/pkg-descr << '28ce2972f98aee7880ed2dce5e74cf7f'
X
XInternationalized Domain Name toolkit 2 (idnkit-2) provides useful
XAPIs (libraries) for application developers to make softwares
XIDNA2008-compliant, and also provides tools for system administrators
Xto process IDNs appropriately according to IDNA2008 specification.
XThe idnkit-2 is a toolkit revised by JPRS from the idnkit-1.0
Xdeveloped by JPNIC, and it is released as an open source
Xfree software modified to comply with IDNA2008.
X
Xidnkit-2 consists from its main part written in C and additional
XAPI packages for other languages (Java, Python, and Perl).
X
XWWW: http://jprs.co.jp/idn/index-e.html
28ce2972f98aee7880ed2dce5e74cf7f
echo c - py-idnkit2/files
mkdir -p py-idnkit2/files > /dev/null 2>&1
echo x - py-idnkit2/files/patch-setup.py
sed 's/^X//' >py-idnkit2/files/patch-setup.py << '03142fad6bf779a8c0844aec3ac7a4e7'
X--- setup.py.orgi 2012-12-10 07:42:52.000000000 +0100
X+++ setup.py 2012-12-10 07:43:05.000000000 +0100
X@@ -4,10 +4,10 @@
X import glob
X
X # Directory where idnkit header files are installed.
X-idnkit_include_dir = '/usr/local/include'
X+idnkit_include_dir = '%%LOCALBASE%%/include'
X
X # Directory where libidnkitlite resides.
X-idnkit_library_dir = '/usr/local/lib'
X+idnkit_library_dir = '%%LOCALBASE%%/lib'
X
X setup(name='idnkit-python',
X version='2.2',
03142fad6bf779a8c0844aec3ac7a4e7
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list