pkgsrc-WIP-changes archive

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

Use lang/python/distutils.mk instead



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Tue May 8 04:16:42 2018 +0200
Changeset:	85d3dbd6fe2dc8c8e5e18ee4c2b44b7094e8a100

Modified Files:
	py-idalink/Makefile
	py-idalink/PLIST
	py-idalink/distinfo
Removed Files:
	py-idalink/patches/patch-setup.py

Log Message:
Use lang/python/distutils.mk instead

As recommended by leot@, thanks!

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

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

diffstat:
 py-idalink/Makefile               |  2 +-
 py-idalink/PLIST                  |  6 +-----
 py-idalink/distinfo               |  1 -
 py-idalink/patches/patch-setup.py | 12 ------------
 4 files changed, 2 insertions(+), 19 deletions(-)

diffs:
diff --git a/py-idalink/Makefile b/py-idalink/Makefile
index fe0ec755ac..98486a723a 100644
--- a/py-idalink/Makefile
+++ b/py-idalink/Makefile
@@ -15,5 +15,5 @@ PYTHON_VERSIONS_ACCEPTED=	27
 
 DEPENDS+=	xterm-[0-9]*:../../x11/xterm
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-idalink/PLIST b/py-idalink/PLIST
index cdaef883af..e66106da1c 100644
--- a/py-idalink/PLIST
+++ b/py-idalink/PLIST
@@ -1,9 +1,5 @@
 @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}/${EGG_FILE}
 ${PYSITELIB}/idalink/__init__.py
 ${PYSITELIB}/idalink/__init__.pyc
 ${PYSITELIB}/idalink/__init__.pyo
diff --git a/py-idalink/distinfo b/py-idalink/distinfo
index 2f55abbad4..a1abe886e5 100644
--- a/py-idalink/distinfo
+++ b/py-idalink/distinfo
@@ -5,4 +5,3 @@ RMD160 (idalink-0.11.tar.gz) = a8c76b02d807faea7b9949e0c08ff4631e2c3657
 SHA512 (idalink-0.11.tar.gz) = bcd982a4d35fe49b0e73d24b2f3d394cc04140c448b9cd7d979734a331f8bf75d7cea62fea094a4ae354296b2a33747340ebf8d545fc86b562d163981750bd9c
 Size (idalink-0.11.tar.gz) = 6219 bytes
 SHA1 (patch-idalink_support_ida__env.sh) = 8b719e17077c2053e5b8997097aae740c673e79e
-SHA1 (patch-setup.py) = 19483fdb52cb64793c3863d16d9dd4b08a4477bc
diff --git a/py-idalink/patches/patch-setup.py b/py-idalink/patches/patch-setup.py
deleted file mode 100644
index 0d3a796766..0000000000
--- a/py-idalink/patches/patch-setup.py
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
-Fix error "Unknown distribution option: 'install_requires'"
-
---- setup.py.orig	2015-08-11 08:32:25.000000000 +0000
-+++ setup.py
-@@ -1,4 +1,4 @@
--from distutils.core import setup
-+from setuptools import setup
- setup(
-     name = 'idalink',
-     description = 'An interface to the insides of IDA!',


Home | Main Index | Thread Index | Old Index