pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python27 For smtpd.py, only rename with ${PYVERSU...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5fc7bcf26f21
branches: trunk
changeset: 631696:5fc7bcf26f21
user: obache <obache%pkgsrc.org@localhost>
date: Wed Mar 12 12:40:57 2014 +0000
description:
For smtpd.py, only rename with ${PYVERSUFFIX} to be installed as a tool,
or rename of module name affect to other parts using this module.
Noticed by Benjamin Lorenz in tech-pkg@.
Additionally, set ALTERNATIVE for bin/smtpd.py.
diffstat:
lang/python27/ALTERNATIVES | 1 +
lang/python27/Makefile | 6 +++---
lang/python27/PLIST.common | 8 ++++----
lang/python27/distinfo | 4 ++--
lang/python27/patches/patch-am | 4 ++--
5 files changed, 12 insertions(+), 11 deletions(-)
diffs (90 lines):
diff -r 27f598a2a4bc -r 5fc7bcf26f21 lang/python27/ALTERNATIVES
--- a/lang/python27/ALTERNATIVES Wed Mar 12 12:28:44 2014 +0000
+++ b/lang/python27/ALTERNATIVES Wed Mar 12 12:40:57 2014 +0000
@@ -1,3 +1,4 @@
bin/2to3 @PREFIX@/bin/2to3-2.7
bin/pydoc @PREFIX@/bin/pydoc2.7
bin/python @PREFIX@/bin/python2.7
+bin/smtpd.py @PREFIX@/bin/smtpd2.7.py
diff -r 27f598a2a4bc -r 5fc7bcf26f21 lang/python27/Makefile
--- a/lang/python27/Makefile Wed Mar 12 12:28:44 2014 +0000
+++ b/lang/python27/Makefile Wed Mar 12 12:40:57 2014 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.36 2014/02/12 23:28:17 tron Exp $
+# $NetBSD: Makefile,v 1.37 2014/03/12 12:40:57 obache Exp $
.include "dist.mk"
PKGNAME= python27-${PY_DISTVERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -163,7 +163,7 @@
SUBST_SED.findlib= -e 's,/usr/local,${PREFIX},'
post-extract:
- ${MV} ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Lib/smtpd${PY_VER_SUFFIX}.py
+ ${LN} -s ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Tools/scripts/smtpd${PY_VER_SUFFIX}.py
${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}
${MV} ${WRKSRC}/Tools/scripts/2to3 ${WRKSRC}/Tools/scripts/2to3-${PY_VER_SUFFIX}
diff -r 27f598a2a4bc -r 5fc7bcf26f21 lang/python27/PLIST.common
--- a/lang/python27/PLIST.common Wed Mar 12 12:28:44 2014 +0000
+++ b/lang/python27/PLIST.common Wed Mar 12 12:40:57 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.8 2014/02/12 23:28:17 tron Exp $
+@comment $NetBSD: PLIST.common,v 1.9 2014/03/12 12:40:57 obache Exp $
bin/2to3-${PY_VER_SUFFIX}
bin/pydoc${PY_VER_SUFFIX}
bin/python${PY_VER_SUFFIX}
@@ -2453,9 +2453,9 @@
lib/python${PY_VER_SUFFIX}/site.py
lib/python${PY_VER_SUFFIX}/site.pyc
lib/python${PY_VER_SUFFIX}/site.pyo
-lib/python${PY_VER_SUFFIX}/smtpd${PY_VER_SUFFIX}.py
-lib/python${PY_VER_SUFFIX}/smtpd${PY_VER_SUFFIX}.pyc
-lib/python${PY_VER_SUFFIX}/smtpd${PY_VER_SUFFIX}.pyo
+lib/python${PY_VER_SUFFIX}/smtpd.py
+lib/python${PY_VER_SUFFIX}/smtpd.pyc
+lib/python${PY_VER_SUFFIX}/smtpd.pyo
lib/python${PY_VER_SUFFIX}/smtplib.py
lib/python${PY_VER_SUFFIX}/smtplib.pyc
lib/python${PY_VER_SUFFIX}/smtplib.pyo
diff -r 27f598a2a4bc -r 5fc7bcf26f21 lang/python27/distinfo
--- a/lang/python27/distinfo Wed Mar 12 12:28:44 2014 +0000
+++ b/lang/python27/distinfo Wed Mar 12 12:40:57 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2014/02/09 09:02:50 tron Exp $
+$NetBSD: distinfo,v 1.31 2014/03/12 12:40:57 obache Exp $
SHA1 (Python-2.7.6.tar.xz) = 8321636af2acbeaa68fc635d7dda7369ed446a80
RMD160 (Python-2.7.6.tar.xz) = 8efc73a01a466d8fa16c5c1734c89be79c2c538a
@@ -15,7 +15,7 @@
SHA1 (patch-ae) = ff6d8c6164fe3c6dc4fb33d88eb8a49d5c5442f6
SHA1 (patch-ah) = ae3ce0656d890ca34292920bf0185f94ba847139
SHA1 (patch-al) = dd8bed847f797b97df1a9ad7ffe17645b0f08925
-SHA1 (patch-am) = 80718042f67a22489b1ae0806e71f28c1515c28e
+SHA1 (patch-am) = e5d78bfd5b9e6339985ed4cb587897042b6b8590
SHA1 (patch-an) = 6098fbf0fc31422196cc40d3a227934523db11ca
SHA1 (patch-ao) = 3a1cd2b255340fd23fc1fce8680e692581ffcec1
SHA1 (patch-au) = 2a2a988ac92553d17eb898870d1adb3c30a59b66
diff -r 27f598a2a4bc -r 5fc7bcf26f21 lang/python27/patches/patch-am
--- a/lang/python27/patches/patch-am Wed Mar 12 12:28:44 2014 +0000
+++ b/lang/python27/patches/patch-am Wed Mar 12 12:40:57 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-am,v 1.11 2013/11/12 18:57:25 adam Exp $
+$NetBSD: patch-am,v 1.12 2014/03/12 12:40:57 obache Exp $
Disabled modules for normal build:
bsddb
@@ -357,7 +357,7 @@
- 'Lib/smtpd.py']
+ scripts = ['Tools/scripts/pydoc2.7',
+ 'Tools/scripts/2to3-2.7',
-+ 'Lib/smtpd2.7.py']
++ 'Tools/scripts/smtpd2.7.py']
)
# --install-platlib
Home |
Main Index |
Thread Index |
Old Index