pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47380: add pkgsrc/finance/py-vatnumber 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@localhost
+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



Home | Main Index | Thread Index | Old Index