forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 0.7.7. Simplify. Set LICENSE. Allow python-3.x.
----- 0.7.7 ----- * Distribute #375: Repair AttributeError created in last release (redo). * Issue #30: Added test for get_cache_path. ----- 0.7.6 ----- * Distribute #375: Repair AttributeError created in last release. ----- 0.7.5 ----- * Issue #21: Restore Python 2.4 compatibility in ``test_easy_install``. * Distribute #375: Merged additional warning from Distribute 0.6.46. * Now honor the environment variable ``SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT`` in addition to the now deprecated ``DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT``. ----- 0.7.4 ----- * Issue #20: Fix comparison of parsed SVN version on Python 3. ----- 0.7.3 ----- * Issue #1: Disable installation of Windows-specific files on non-Windows systems. * Use new sysconfig module with Python 2.7 or >=3.2. ----- 0.7.2 ----- * Issue #14: Use markerlib when the `parser` module is not available. * Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI. ----- 0.7.1 ----- * Fix NameError (Issue #3) again - broken in bad merge. --- 0.7 --- * Merged Setuptools and Distribute. See docs/merge.txt for details. Added several features that were slated for setuptools 0.6c12: * Index URL now defaults to HTTPS. * Added experimental environment marker support. Now clients may designate a PEP-426 environment marker for "extra" dependencies. Setuptools uses this feature in ``setup.py`` for optional SSL and certificate validation support on older platforms. Based on Distutils-SIG discussions, the syntax is somewhat tentative. There should probably be a PEP with a firmer spec before the feature should be considered suitable for use. * Added support for SSL certificate validation when installing packages from an HTTPS service. ----- 0.7b4 ----- * Issue #3: Fixed NameError in SSL support.
- Loading branch information
wiz
committed
Jul 4, 2013
1 parent
8491ce8
commit b8cc242
Showing
9 changed files
with
102 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,40 @@ | ||
# $NetBSD: Makefile,v 1.21 2012/10/31 11:19:34 asau Exp $ | ||
# $NetBSD: Makefile,v 1.22 2013/07/04 06:43:12 wiz Exp $ | ||
|
||
EGG_VERSION= 0.6c11 | ||
EGG_VERSION= 0.7.7 | ||
DISTNAME= setuptools-${EGG_VERSION} | ||
EGG_NAME= setuptools-${EGG_VERSION} | ||
PKGNAME= ${PYPKGPREFIX}-setuptools-${EGG_VERSION} | ||
PKGREVISION= 1 | ||
CATEGORIES= devel python | ||
MASTER_SITES= http://pypi.python.org/packages/source/s/setuptools/ | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= http://peak.telecommunity.com/DevCenter/setuptools | ||
COMMENT= New Python packaging system | ||
LICENSE= python-software-foundation OR zpl | ||
|
||
PYDISTUTILSPKG= yes | ||
PYDISTUTILSPKG= yes | ||
PYTHON_VERSIONS_INCLUDE_3X= yes | ||
|
||
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} PYPKGPREFIX=${PYPKGPREFIX} | ||
PLIST_SUBST+= EGG_NAME=${EGGNAME} | ||
PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info | ||
PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/, \ | ||
"$${EGG_INFODIR}") } | ||
|
||
CHECK_FILES_SKIP+= ${PREFIX}/${PYSITELIB}/easy-install.pth | ||
REPLACE_PYTHON= setuptools/command/easy_install.py | ||
REPLACE_PYTHON+= setuptools/tests/test_resources.py | ||
|
||
.include "../../mk/bsd.prefs.mk" | ||
|
||
.include "../../lang/python/extension.mk" | ||
.include "../../mk/bsd.fast.prefs.mk" | ||
|
||
PYSETUPINSTALLARGS= --single-version-externally-managed | ||
.if ${_USE_DESTDIR} == "no" | ||
PYSETUPINSTALLARGS+= --root=/ | ||
.endif | ||
|
||
FILES_SUBST+= PYSITELIB=${PREFIX}/${PYSITELIB} | ||
FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} | ||
|
||
.if ${OPSYS} == "Darwin" | ||
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | ||
.endif | ||
|
||
post-extract: | ||
chmod -R go-w ${WRKSRC} | ||
|
||
post-build: | ||
${SED} -e 's,@PYTHON@,${PYTHONBIN},' \ | ||
-e 's,@PYPREFIX@,${PYPKGPREFIX},' \ | ||
-e 's,@PYSITELIB@,${PREFIX}/${PYSITELIB},' \ | ||
${FILESDIR}/manage-eggs.py > ${WRKDIR}/manage-eggs.py | ||
${SED} -e 's,@PYTHON@,${PYTHONBIN},' \ | ||
-e 's,@PKGVERSION@,${EGG_VERSION},' \ | ||
${FILESDIR}/easy_install.py > ${WRKDIR}/easy_install.py | ||
|
||
post-install: | ||
${INSTALL_SCRIPT} ${WRKDIR}/manage-eggs.py ${DESTDIR}${PREFIX}/bin/${PYPKGPREFIX}-manage-eggs | ||
|
||
.include "../../lang/python/application.mk" | ||
.include "../../lang/python/extension.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$NetBSD: distinfo,v 1.7 2009/10/31 02:10:34 wiz Exp $ | ||
$NetBSD: distinfo,v 1.8 2013/07/04 06:43:12 wiz Exp $ | ||
|
||
SHA1 (setuptools-0.6c11.tar.gz) = 8d1ad6384d358c547c50c60f1bfdb3362c6c4a7d | ||
RMD160 (setuptools-0.6c11.tar.gz) = 7af8f39e5e74d96d10cc0d00b15a26462d66f42c | ||
Size (setuptools-0.6c11.tar.gz) = 256862 bytes | ||
SHA1 (patch-aa) = b986fa7ff36e974c70915984efee59f531a488d7 | ||
SHA1 (setuptools-0.7.7.tar.gz) = 55f9285d5f0b1e75f935d57bbe979399b44e0b4a | ||
RMD160 (setuptools-0.7.7.tar.gz) = 84b28be42f900decfb61adc14c47f8a41999c350 | ||
Size (setuptools-0.7.7.tar.gz) = 754684 bytes | ||
SHA1 (patch-setup.py) = 8072ebce17d029f7efc1c05528d1e5c0d0f40800 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$NetBSD: patch-setup.py,v 1.1 2013/07/04 06:43:13 wiz Exp $ | ||
|
||
Do not install easy_install without python version suffix to allow | ||
parallel installation of this package for multiple python versions. | ||
|
||
--- setup.py.orig 2013-07-02 15:45:46.000000000 +0000 | ||
+++ setup.py | ||
@@ -54,7 +54,7 @@ from setuptools.command.test import test | ||
|
||
scripts = [] | ||
|
||
-console_scripts = ["easy_install = setuptools.command.easy_install:main"] | ||
+console_scripts = [] | ||
|
||
# Gentoo distributions manage the python-version-specific scripts themselves, | ||
# so they define an environment variable to suppress the creation of the |