pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uwsgi Simplify by using egg.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd33adea5d37
branches:  trunk
changeset: 610019:bd33adea5d37
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Oct 16 07:41:51 2012 +0000

description:
Simplify by using egg.mk.

diffstat:

 www/py-uwsgi/Makefile |   8 +++-----
 www/py-uwsgi/PLIST    |  10 +++++-----
 2 files changed, 8 insertions(+), 10 deletions(-)

diffs (46 lines):

diff -r 1ff895fd7e9c -r bd33adea5d37 www/py-uwsgi/Makefile
--- a/www/py-uwsgi/Makefile     Tue Oct 16 07:39:10 2012 +0000
+++ b/www/py-uwsgi/Makefile     Tue Oct 16 07:41:51 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2012/07/12 16:21:53 roy Exp $
+# $NetBSD: Makefile,v 1.17 2012/10/16 07:41:51 wiz Exp $
 
 DISTNAME=      uwsgi-1.2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,16 +12,14 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-DEPENDS+=      ${PYPKGPREFIX}-setuptools>=0.6c9:../../devel/py-setuptools
-
 USE_LANGUAGES=         c
-PYDISTUTILSPKG=                yes
 
 PLIST_SUBST+=          PYVERSSUFFIX=${PYVERSSUFFIX}
+EGG_NAME=      ${DISTNAME:S/uwsgi/uWSGI/}
 
 post-install:
        mv ${DESTDIR}${PREFIX}/bin/uwsgi ${DESTDIR}${PREFIX}/bin/uwsgi-${PYVERSSUFFIX}
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1ff895fd7e9c -r bd33adea5d37 www/py-uwsgi/PLIST
--- a/www/py-uwsgi/PLIST        Tue Oct 16 07:39:10 2012 +0000
+++ b/www/py-uwsgi/PLIST        Tue Oct 16 07:41:51 2012 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2012/07/12 16:21:53 roy Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/10/16 07:41:51 wiz Exp $
 bin/uwsgi-${PYVERSSUFFIX}
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
-${PYSITELIB}/uWSGI-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/uwsgidecorators.py
 ${PYSITELIB}/uwsgidecorators.pyc
 ${PYSITELIB}/uwsgidecorators.pyo



Home | Main Index | Thread Index | Old Index