mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
Distribute is intended to replace Setuptools as the standard method
for working with Python module distributions. The project has two goals: - Providing a backward compatible version to replace Setuptools and make all distributions that depend on Setuptools work as before, but with less bugs and behavioral issues. - Re-factoring the code, and releasing it in several distributions. This work is being done in the 0.7.x series but not yet released.
This commit is contained in:
parent
18ff9f7cfd
commit
c8de2c098a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261224
@ -2685,6 +2685,7 @@
|
||||
SUBDIR += py-dexml
|
||||
SUBDIR += py-dialog
|
||||
SUBDIR += py-distorm
|
||||
SUBDIR += py-distribute
|
||||
SUBDIR += py-distutils-extra
|
||||
SUBDIR += py-durus
|
||||
SUBDIR += py-dynrules
|
||||
|
29
devel/py-distribute/Makefile
Normal file
29
devel/py-distribute/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: py-distribute
|
||||
# Date created: 2010-05-06
|
||||
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= distribute
|
||||
PORTVERSION= 0.6.14
|
||||
#PORTREVISION= 0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= A Python packages installer, and Setuptools replacement
|
||||
|
||||
PLIST_SUB= PYVER=${PYTHON_VER} VERSION=${PORTVERSION} SETUPTOOLS_VER=0.6c11
|
||||
|
||||
PYDISTUTILS_NOEGGINFO= yes
|
||||
# waiting for better times...
|
||||
PYEASYINSTALL_CMD= ${LOCALBASE}/bin/easy_install-${PYTHON_VER}
|
||||
CONFLICTS= ${PKGNAMEPREFIX}setuptools-[0-9]*
|
||||
# i.e. a support in bsd.python.mk
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-distribute/distinfo
Normal file
3
devel/py-distribute/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (distribute-0.6.14.tar.gz) = ac607e05682116c06383b27a15e2db90
|
||||
SHA256 (distribute-0.6.14.tar.gz) = 16d5da8211d74eb11f2744c5945a3c7fcae9abbfebb56ea493f177a45d2e5bec
|
||||
SIZE (distribute-0.6.14.tar.gz) = 281527
|
@ -0,0 +1,11 @@
|
||||
--- setuptools/command/easy_install.py 2010-07-15 01:59:21.000000000 +0200
|
||||
+++ setuptools/command/easy_install.py.port 2010-09-15 17:49:35.000000000 +0200
|
||||
@@ -688,7 +688,7 @@
|
||||
return True
|
||||
if not dist.has_metadata('zip-safe'):
|
||||
return True
|
||||
- return True
|
||||
+ return False
|
||||
|
||||
def maybe_move(self, spec, dist_filename, setup_base):
|
||||
dst = os.path.join(self.build_directory, spec.key)
|
11
devel/py-distribute/pkg-descr
Normal file
11
devel/py-distribute/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Distribute is intended to replace Setuptools as the standard method
|
||||
for working with Python module distributions.
|
||||
|
||||
The project has two goals:
|
||||
|
||||
- Providing a backward compatible version to replace Setuptools
|
||||
and make all distributions that depend on Setuptools work as
|
||||
before, but with less bugs and behavioral issues.
|
||||
|
||||
- Re-factoring the code, and releasing it in several distributions.
|
||||
This work is being done in the 0.7.x series but not yet released.
|
6
devel/py-distribute/pkg-plist
Normal file
6
devel/py-distribute/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/easy_install
|
||||
bin/easy_install-%%PYVER%%
|
||||
%%PYTHON_SITELIBDIR%%/distribute-%%VERSION%%-py%%PYVER%%.egg
|
||||
%%PYTHON_SITELIBDIR%%/easy-install.pth
|
||||
%%PYTHON_SITELIBDIR%%/setuptools-%%SETUPTOOLS_VER%%-py%%PYVER%%.egg-info
|
||||
%%PYTHON_SITELIBDIR%%/setuptools.pth
|
Loading…
Reference in New Issue
Block a user