[RFC] devel/py-setuptools
William Grzybowski
wg at freebsd.org
Sat Nov 2 19:24:35 UTC 2013
Hi,
As some of you are aware, py-setuptools is back in action, replacing py-distribute.
Attached is the proposed patch to make the move once again.
From what I could gather we dont need to handle easy-install.pth anymore, it is not created by setuptools on install and is created automatically in easy_install build.
Let me know if you run into any troubles.
Cheers,
-------------- next part --------------
Index: UPDATING
===================================================================
--- UPDATING (revision 332532)
+++ UPDATING (working copy)
@@ -5,6 +5,21 @@
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20131102:
+ AFFECTS: users of devel/py-distribute (i.e you)
+ AUTHOR: wg at FreeBSD.org
+
+ devel/py-distribute was replaced with devel/py-setuptools. Please do
+ the following according to package manager used. py-distribute port
+ will be removed shortly.
+
+ # portmaster -o devel/py-setuptools devel/py-distribute
+ or
+ # portupgrade -fo devel/py-setuptools devel/py-distribute
+ or
+ # pkg set -o devel/py-distribute:devel/py-setuptools
+ # pkg install -f devel/py-setuptools
+
20131031:
AFFECTS: users of multimedia/rtmpdump
AUTHOR: hrs at FreeBSD.org
Index: MOVED
===================================================================
--- MOVED (revision 332532)
+++ MOVED (working copy)
@@ -5158,3 +5158,4 @@
net-im/pymsn||2013-10-31|Has expired: Primary MSN Messenger service terminated 30 APR 2013
net-im/tmsnc||2013-10-31|Has expired: Primary MSN Messenger service terminated 30 APR 2013
mail/squirrelmail-postfixadmin-plugin|mail/postfixadmin|2013-11-01|Has expired: Now distributed with postfixadmin
+devel/py-distribute|devel/py-setuptools|2013-11-02|Replaced with setuptools
Index: devel/Makefile
===================================================================
--- devel/Makefile (revision 332532)
+++ devel/Makefile (working copy)
@@ -3726,6 +3726,7 @@
SUBDIR += py-sdl2
SUBDIR += py-serpent
SUBDIR += py-setproctitle
+ SUBDIR += py-setuptools
SUBDIR += py-setuptools-git
SUBDIR += py-setuptools_darcs
SUBDIR += py-setuptools_hg
Index: devel/py-setuptools/Makefile
===================================================================
--- devel/py-setuptools/Makefile (revision 0)
+++ devel/py-setuptools/Makefile (working copy)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= setuptools
+PORTVERSION= 1.1.7
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= python
+
+MAINTAINER= python at FreeBSD.org
+COMMENT= Python packages installer
+
+LICENSE= PSFL
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}distribute-[0-9]*
+
+PLIST_SUB= PYVER=${PYTHON_VER} VERSION=${PORTVERSION}
+
+PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+SUB_LIST= IF_DEFAULT=${IF_DEFAULT}
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} && !exists(${LOCALBASE}/bin/easy_install)
+PLIST_SUB+= IF_DEFAULT=""
+.else
+PLIST_SUB+= IF_DEFAULT="@comment "
+SUB_FILES+= pkg-message
+.endif
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.post.mk>
Property changes on: devel/py-setuptools/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property
Index: devel/py-setuptools/distinfo
===================================================================
--- devel/py-setuptools/distinfo (revision 0)
+++ devel/py-setuptools/distinfo (working copy)
@@ -0,0 +1,2 @@
+SHA256 (python/setuptools-1.1.7.tar.gz) = b35e3d7c79cfdb5b38cfc71f4b0deab4350c1176fc4bb05bfa8945504ecfb028
+SIZE (python/setuptools-1.1.7.tar.gz) = 682308
Property changes on: devel/py-setuptools/distinfo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: devel/py-setuptools/files/pkg-message.in
===================================================================
--- devel/py-setuptools/files/pkg-message.in (revision 0)
+++ devel/py-setuptools/files/pkg-message.in (working copy)
@@ -0,0 +1,7 @@
+*********************************************************************
+
+ The script %%PREFIX%%/bin/easy_install was already installed
+ on your system, so the only script %%PREFIX%%/bin/easy_install-%%PYVER%%
+ has been added.
+
+*********************************************************************
Property changes on: devel/py-setuptools/files/pkg-message.in
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: devel/py-setuptools/pkg-descr
===================================================================
--- devel/py-setuptools/pkg-descr (revision 0)
+++ devel/py-setuptools/pkg-descr (working copy)
@@ -0,0 +1,10 @@
+Setuptools is a fully-featured, actively-maintained, and stable library
+designed to facilitate packaging Python projects, where packaging includes:
+ - Python package and module definitions
+ - Distribution package metadata
+ - Test hooks
+ - Project installation
+ - Platform-specific details
+ - Python 3 support
+
+WWW: https://pypi.python.org/pypi/setuptools
Property changes on: devel/py-setuptools/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: devel/py-setuptools/pkg-plist
===================================================================
--- devel/py-setuptools/pkg-plist (revision 0)
+++ devel/py-setuptools/pkg-plist (working copy)
@@ -0,0 +1,147 @@
+%%IF_DEFAULT%%bin/easy_install
+bin/easy_install-%%PYVER%%
+%%PYTHON_SITELIBDIR%%/_markerlib/__init__.py
+%%PYTHON_SITELIBDIR%%/_markerlib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/_markerlib/markers.py
+%%PYTHON_SITELIBDIR%%/_markerlib/markers.pyc
+%%PYTHON_SITELIBDIR%%/easy_install.py
+%%PYTHON_SITELIBDIR%%/easy_install.pyc
+%%PYTHON_SITELIBDIR%%/pkg_resources.py
+%%PYTHON_SITELIBDIR%%/pkg_resources.pyc
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/entry_points.txt
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/entry_points.txt.orig
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg-info/zip-safe
+%%PYTHON_SITELIBDIR%%/setuptools/__init__.py
+%%PYTHON_SITELIBDIR%%/setuptools/__init__.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/__init__.py
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/__init__.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/__init__.py
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha.py
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha256.py
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha256.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha512.py
+%%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib/_sha512.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/archive_util.py
+%%PYTHON_SITELIBDIR%%/setuptools/archive_util.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/__init__.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/__init__.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/alias.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/alias.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_egg.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_egg.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_rpm.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_rpm.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_wininst.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/bdist_wininst.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/build_ext.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/build_ext.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/build_py.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/build_py.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/develop.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/develop.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/easy_install.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/easy_install.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/egg_info.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/egg_info.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/install.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/install.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_egg_info.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_egg_info.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_lib.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_lib.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_scripts.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/install_scripts.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/register.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/register.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/rotate.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/rotate.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/saveopts.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/saveopts.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/sdist.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/sdist.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/setopt.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/setopt.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/test.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/test.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/upload.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/upload.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/command/upload_docs.py
+%%PYTHON_SITELIBDIR%%/setuptools/command/upload_docs.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/compat.py
+%%PYTHON_SITELIBDIR%%/setuptools/compat.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/depends.py
+%%PYTHON_SITELIBDIR%%/setuptools/depends.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/dist.py
+%%PYTHON_SITELIBDIR%%/setuptools/dist.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/extension.py
+%%PYTHON_SITELIBDIR%%/setuptools/extension.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/package_index.py
+%%PYTHON_SITELIBDIR%%/setuptools/package_index.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/py24compat.py
+%%PYTHON_SITELIBDIR%%/setuptools/py24compat.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/py26compat.py
+%%PYTHON_SITELIBDIR%%/setuptools/py26compat.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/py27compat.py
+%%PYTHON_SITELIBDIR%%/setuptools/py27compat.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/sandbox.py
+%%PYTHON_SITELIBDIR%%/setuptools/sandbox.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/script template (dev).py
+%%PYTHON_SITELIBDIR%%/setuptools/script template (dev).pyc
+%%PYTHON_SITELIBDIR%%/setuptools/script template.py
+%%PYTHON_SITELIBDIR%%/setuptools/script template.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/site-patch.py
+%%PYTHON_SITELIBDIR%%/setuptools/site-patch.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/ssl_support.py
+%%PYTHON_SITELIBDIR%%/setuptools/ssl_support.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/doctest.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/doctest.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/py26compat.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/py26compat.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/script-with-bom.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/script-with-bom.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/server.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/server.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_bdist_egg.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_bdist_egg.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_build_ext.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_build_ext.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_develop.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_develop.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_dist_info.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_dist_info.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_easy_install.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_easy_install.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_egg_info.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_egg_info.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_markerlib.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_markerlib.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_packageindex.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_packageindex.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_resources.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_resources.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_sandbox.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_sandbox.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_sdist.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_sdist.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_test.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_test.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_upload_docs.py
+%%PYTHON_SITELIBDIR%%/setuptools/tests/test_upload_docs.pyc
+%%PYTHON_SITELIBDIR%%/setuptools/version.py
+%%PYTHON_SITELIBDIR%%/setuptools/version.pyc
+ at dirrmtry %%PYTHON_SITELIBDIR%%/setuptools/tests
+ at dirrmtry %%PYTHON_SITELIBDIR%%/setuptools/command
+ at dirrmtry %%PYTHON_SITELIBDIR%%/setuptools/_backport/hashlib
+ at dirrmtry %%PYTHON_SITELIBDIR%%/setuptools/_backport
+ at dirrmtry %%PYTHON_SITELIBDIR%%/setuptools
+ at dirrmtry %%PYTHON_SITELIBDIR%%/_markerlib
+ at dirrmtry %%PYTHON_SITELIBDIR%%
Property changes on: devel/py-setuptools/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131102/ec590f91/attachment.sig>
More information about the freebsd-ports
mailing list