pkgsrc-WIP-changes archive

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

Import py27-setconf-0.6.7 as wip/py-setconf.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 20 00:38:37 2015 +0200
Changeset:	2a1c8ab6c179586276930672263db9232c6ff4b0

Added Files:
	py-setconf/DESCR
	py-setconf/Makefile
	py-setconf/PLIST
	py-setconf/distinfo

Log Message:
Import py27-setconf-0.6.7 as wip/py-setconf.

setconf is a small utility that can be used for changing settings in
configuration textfiles.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a1c8ab6c179586276930672263db9232c6ff4b0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-setconf/DESCR    |  2 ++
 py-setconf/Makefile | 32 ++++++++++++++++++++++++++++++++
 py-setconf/PLIST    |  3 +++
 py-setconf/distinfo |  5 +++++
 4 files changed, 42 insertions(+)

diffs:
diff --git a/py-setconf/DESCR b/py-setconf/DESCR
new file mode 100644
index 0000000..42f55f0
--- /dev/null
+++ b/py-setconf/DESCR
@@ -0,0 +1,2 @@
+setconf is a small utility that can be used for changing settings in
+configuration textfiles.
diff --git a/py-setconf/Makefile b/py-setconf/Makefile
new file mode 100644
index 0000000..751b6c6
--- /dev/null
+++ b/py-setconf/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	setconf-0.6.7
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=xyproto/}
+GITHUB_PROJECT=	setconf
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://setconf.roboticoverlords.org/
+COMMENT=	Small utility to change settings in configuration textfiles
+LICENSE=	gnu-gpl-v2
+
+SUBST_CLASSES+=		path
+SUBST_SED.path=		-e "s,/usr/bin/python2,${PYTHONBIN},"
+SUBST_MESSAGE.path=	Fixing path to python.
+SUBST_STAGE.path=	post-patch
+SUBST_FILES.path=	setconf.py
+
+WRKSRC=	${WRKDIR}/setconf-${PKGVERSION_NOREV}
+
+NO_CONFIGURE=	yes
+NO_BUILD=	yes
+
+AUTO_MKDIRS=	yes
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/setconf.py ${DESTDIR}${PREFIX}/bin/setconf
+	${INSTALL_MAN} ${WRKSRC}/setconf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-setconf/PLIST b/py-setconf/PLIST
new file mode 100644
index 0000000..12a5c16
--- /dev/null
+++ b/py-setconf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/setconf
+man/man1/setconf.1
diff --git a/py-setconf/distinfo b/py-setconf/distinfo
new file mode 100644
index 0000000..71c489d
--- /dev/null
+++ b/py-setconf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (setconf-0.6.7.tar.gz) = 0f15291341019ff74459f4067f832ceb42d0b06a
+RMD160 (setconf-0.6.7.tar.gz) = 0366b9d761b76083bf21f6512a69d8893e675394
+Size (setconf-0.6.7.tar.gz) = 53756 bytes


Home | Main Index | Thread Index | Old Index