summaryrefslogtreecommitdiff
path: root/net/bittorrent
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-04-08 19:08:44 +0000
committerwiz <wiz@pkgsrc.org>2012-04-08 19:08:44 +0000
commit4faa20286079b6833043b7bbd12c0e72039551f6 (patch)
treeb2d16eef0342bf56f8fbe64706fa44b26684cdf8 /net/bittorrent
parent67a514f3391a0157a52f46664e69c897eb4b904e (diff)
downloadpkgsrc-4faa20286079b6833043b7bbd12c0e72039551f6.tar.gz
Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
Diffstat (limited to 'net/bittorrent')
-rw-r--r--net/bittorrent/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/net/bittorrent/Makefile b/net/bittorrent/Makefile
index 2d58c60e676..3a4cea51e9e 100644
--- a/net/bittorrent/Makefile
+++ b/net/bittorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2012/03/15 11:53:35 obache Exp $
+# $NetBSD: Makefile,v 1.44 2012/04/08 19:09:08 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -14,12 +14,6 @@ DEPENDS+= ${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel
USE_TOOLS+= msgfmt xgettext msgmerge
-.include "../../mk/bsd.prefs.mk"
-
-.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
-
-.if ${PYVERSSUFFIX} != "2.4"
SUBST_CLASSES+= sha
SUBST_MESSAGE.sha= Fixing references to deprecated sha module.
SUBST_STAGE.sha= pre-configure
@@ -35,6 +29,7 @@ SUBST_FILES.sha+= khashmir/khashmir.py
SUBST_FILES.sha+= khashmir/utkhashmir.py
SUBST_FILES.sha+= torrentinfo-console.py
SUBST_SED.sha= -e "s/^from sha import .*/from hashlib import sha1 as sha/"
-.endif
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"