Adios, setuptools.
This commit is contained in:
parent
2b27306e40
commit
b2cc9d90aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313533
1
MOVED
1
MOVED
@ -4131,3 +4131,4 @@ misc/splitvt||2013-03-06|Has expired: Broken for more than 6 month
|
||||
sysutils/udesc_dump||2013-03-06|Has expired: Broken for more than 6 month
|
||||
textproc/gxditview||2013-03-06|Has expired: Broken for more than 6 month
|
||||
x11/powershell||2013-03-06|Has expired: Broken for more then 6 month
|
||||
devel/py-setuptools|devel/py-distribute|2013-03-06|Replaced with distribute
|
||||
|
@ -3627,7 +3627,6 @@
|
||||
SUBDIR += py-ruledispatch
|
||||
SUBDIR += py-sanetime
|
||||
SUBDIR += py-setproctitle
|
||||
SUBDIR += py-setuptools
|
||||
SUBDIR += py-setuptools-git
|
||||
SUBDIR += py-setuptools_darcs
|
||||
SUBDIR += py-setuptools_hg
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= setuptools
|
||||
PORTVERSION= 0.6c11
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Download, build, install, upgrade, and uninstall Python packages
|
||||
|
||||
DIST_SUBDIR= python
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
|
||||
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SUB_FILES= pkg-install
|
||||
SUB_LIST= EASYINSTALL_PTH=${EASYINSTALL_PTH}
|
||||
|
||||
EASYINSTALL_PTH= ${PYTHON_SITELIBDIR}/easy-install.pth
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/site.py ${PYTHON_SITELIBDIR}
|
||||
.for opt in -Qold -O
|
||||
${PYTHON_CMD} ${opt} -m compileall -l -x \
|
||||
'^[^s][^i]?[^t]?[^e]?[^.][^p][^y]$$' ${PYTHON_SITELIBDIR}
|
||||
.endfor
|
||||
${CP} ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.dist
|
||||
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (python/setuptools-0.6c11.tar.gz) = 630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3
|
||||
SIZE (python/setuptools-0.6c11.tar.gz) = 256862
|
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
EASYINSTALL_PTH=%%EASYINSTALL_PTH%%
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
if [ -f ${EASYINSTALL_PTH} ]; then
|
||||
mv ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.tmp
|
||||
fi
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f ${EASYINSTALL_PTH}.tmp ]; then
|
||||
mv ${EASYINSTALL_PTH}.tmp ${EASYINSTALL_PTH}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
@ -1,6 +0,0 @@
|
||||
Setuptools is a collection of enhancements to the Python distutils (for Python
|
||||
2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python
|
||||
2.4) that allow you to more easily build and distribute Python packages,
|
||||
especially ones that have dependencies on other packages.
|
||||
|
||||
WWW: http://peak.telecommunity.com/DevCenter/setuptools
|
@ -1,17 +0,0 @@
|
||||
@comment $FreeBSD$
|
||||
bin/easy_install
|
||||
bin/easy_install-%%PYVER%%
|
||||
%%PYTHON_SITELIBDIR%%/setuptools.pth
|
||||
@unexec if cmp -s %B/easy-install.pth %B/easy-install.pth.dist; then rm %B/easy-install.pth; fi
|
||||
%%PYTHON_SITELIBDIR%%/easy-install.pth.dist
|
||||
@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi
|
||||
%%PYTHON_SITELIBDIR%%/site.py
|
||||
%%PYTHON_SITELIBDIR%%/site.pyc
|
||||
%%PYTHON_SITELIBDIR%%/site.pyo
|
||||
%%PYTHON_SITELIBDIR%%/setuptools-%%VERSION%%-py%%PYVER%%.egg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/EasyInstall.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api_tests.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pkg_resources.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/setuptools.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user