NetBSD Problem Report #47380

From www@NetBSD.org  Sun Dec 30 07:32:14 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0F5A563E33E
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 30 Dec 2012 07:32:14 +0000 (UTC)
Message-Id: <20121230073213.27E3C63E33E@www.NetBSD.org>
Date: Sun, 30 Dec 2012 07:32:13 +0000 (UTC)
From: richard.palo@baou.fr
Reply-To: richard.palo@baou.fr
To: gnats-bugs@NetBSD.org
Subject: add pkgsrc/finance/py-vatnumber 1.0
X-Send-Pr-Version: www-1.0

>Number:         47380
>Category:       pkg
>Synopsis:       add pkgsrc/finance/py-vatnumber 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 30 07:35:09 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
add Python module to validate VAT numbers
http://code.google.com/p/vatnumber/
>How-To-Repeat:

>Fix:
cvs diff:

Index: DESCR
===================================================================
RCS file: DESCR
diff -N DESCR
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ DESCR	30 Dec 2012 07:29:19 -0000
@@ -0,0 +1 @@
+Python module to validate VAT numbers. VAT means "Value Added Tax".
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	30 Dec 2012 07:29:19 -0000
@@ -0,0 +1,40 @@
+# $NetBSD$
+DISTNAME=		vatnumber-1.0
+PKGNAME=		${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=		finance python
+MASTER_SITES=	http://vatnumber.googlecode.com/files/
+
+MAINTAINER=		pkgsrc-users@NetBSD.org
+HOMEPAGE=		http://code.google.com/p/vatnumber/
+COMMENT=		Python module to validate VAT numbers
+LICENSE=		gnu-gpl-v3
+
+PKG_OPTIONS_VAR=        PKG_OPTIONS.py-vatnumber
+PKG_SUPPORTED_OPTIONS=  suds
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msuds)
+DEPENDS+=		${PYPKGPREFIX}-suds-[0-9]*:../../net/py-suds
+.endif
+
+CONFIGURE_ENV+=	PYTHON=${PYTHONBIN:Q}
+CONFIGURE_ENV+=	PYTH_CONFIGDIR=${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/config
+INSTALL_TARGET=	installshared
+PY_PATCHPLIST=	yes
+PLIST_SUBST+=	PYLIB=${PYLIB:Q} PYPKGPREFIX=${PYPKGPREFIX:Q}
+
+PYDISTUTILSPKG= yes
+
+DOCDIR=			${PREFIX}/share/doc/${PYPKGPREFIX}-vatnumber
+
+post-install:
+				${INSTALL_DATA_DIR} ${DESTDIR:Q}${DOCDIR}
+				${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DESTDIR:Q}${DOCDIR}
+				${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DESTDIR:Q}${DOCDIR}
+				${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR:Q}${DOCDIR}
+				${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR:Q}${DOCDIR}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: PLIST
diff -N PLIST
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ PLIST	30 Dec 2012 07:29:19 -0000
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/vatnumber/__init__.py
+${PYSITELIB}/vatnumber/__init__.pyc
+${PYSITELIB}/vatnumber/__init__.pyo
+${PYSITELIB}/vatnumber/tests.py
+${PYSITELIB}/vatnumber/tests.pyc
+${PYSITELIB}/vatnumber/tests.pyo
+share/doc/${PYPKGPREFIX}-vatnumber/CHANGELOG
+share/doc/${PYPKGPREFIX}-vatnumber/COPYRIGHT
+share/doc/${PYPKGPREFIX}-vatnumber/INSTALL
+share/doc/${PYPKGPREFIX}-vatnumber/README
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ distinfo	30 Dec 2012 07:29:19 -0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (vatnumber-1.0.tar.gz) = 76fc9558d9c3870b0651724f9f9c000fac92e8e0
+RMD160 (vatnumber-1.0.tar.gz) = 961d630e36778792da16970d49dc58b23765e3a0
+Size (vatnumber-1.0.tar.gz) = 21693 bytes

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.