pkgsrc-WIP-changes archive

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

libpwquality: Try to fix python plist generation



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Mar 19 11:43:33 2016 +0100
Changeset:	08347807689e07b388e6d26077d50a98a8c5c249

Modified Files:
	libpwquality/Makefile
	libpwquality/PLIST

Log Message:
libpwquality: Try to fix python plist generation

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

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

diffstat:
 libpwquality/Makefile | 2 ++
 libpwquality/PLIST    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/libpwquality/Makefile b/libpwquality/Makefile
index 2139326..fa61ae0 100644
--- a/libpwquality/Makefile
+++ b/libpwquality/Makefile
@@ -16,6 +16,7 @@ GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--disable-pam
 CONFIGURE_ARGS+=	--with-python-binary=${PYTHONBIN}
 
+PY_PATCHPLIST=	yes
 # XXX what to do with the conf files?
 EGDIR=		python
 CONF_FILES=	${EGDIR}/security/pwquality.conf ${PKG_SYSCONFDIR}/security/pwquality.conf
@@ -29,4 +30,5 @@ pre-configure:
 .include "../../wip/py-cracklib/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/pyversion.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libpwquality/PLIST b/libpwquality/PLIST
index d644a8b..aa7e3c4 100644
--- a/libpwquality/PLIST
+++ b/libpwquality/PLIST
@@ -1,10 +1,10 @@
 @comment $NetBSD$
 bin/pwmake
 bin/pwscore
+etc/security/pwquality.conf
 include/pwquality.h
 lib/libpwquality.la
 lib/pkgconfig/pwquality.pc
-${PYSITELIB}/pwquality-${PKGVERSION}-py2.7.egg-info
 ${PYSITELIB}/pwquality.so
 man/man1/pwmake.1
 man/man1/pwscore.1


Home | Main Index | Thread Index | Old Index