mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- Update to 1.0.4
- Convert easy_install support to bsd.python.mk - Fix download site - Remove files/pkg-install.in, files/pkg-deinstall.in
This commit is contained in:
parent
cf5ec6c546
commit
aea36c2ad1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208387
devel/py-turbokid
@ -6,40 +6,18 @@
|
||||
#
|
||||
|
||||
PORTNAME= TurboKid
|
||||
PORTVERSION= 1.0.1
|
||||
PORTVERSION= 1.0.4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://cheeseshop.python.org/packages/${PYTHON_VER}/T/TurboKid/ \
|
||||
MASTER_SITES= CHEESESHOP \
|
||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PYTURBOKID_EGG}
|
||||
EXTRACT_SUFX=
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Python template plugin that supports Kid templates
|
||||
|
||||
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
RUN_DEPENDS+= kid:${PORTSDIR}/devel/py-kid
|
||||
RUN_DEPENDS= kid:${PORTSDIR}/devel/py-kid
|
||||
|
||||
USE_PYTHON= 2.4+
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB+= PYTURBOKID_EGG=${PYTURBOKID_EGG}
|
||||
|
||||
SUB_FILES+= pkg-deinstall pkg-install
|
||||
SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
||||
EGG="${PORTNAME}==${PORTVERSION}"
|
||||
|
||||
EASY_INSTALL= ${LOCALBASE}/bin/easy_install
|
||||
EASY_INSTALL_ARGS= -N -b ${WRKSRC} -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin
|
||||
|
||||
PYTURBOKID_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES}
|
||||
USE_PYDISTUTILS= easy_install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,3 @@
|
||||
MD5 (TurboKid-1.0.1-py2.4.egg) = 0e459c886ced830ba6c6dd0356536ed0
|
||||
MD5 (TurboKid-1.0.1-py2.5.egg) = 6fcb0d847e5cf8c13816433f75a95b4d
|
||||
SHA256 (TurboKid-1.0.1-py2.4.egg) = c68ace1d90ad56107b5c5ac1d4bc8e3d9feb0cf6a63bb3d5fcf9f4804e99e8cd
|
||||
SHA256 (TurboKid-1.0.1-py2.5.egg) = 5a2baafd41c767b520b7b7d4b3b6dafb9a2e0fbc1db19786c4f58b9862d266b3
|
||||
SIZE (TurboKid-1.0.1-py2.4.egg) = 7360
|
||||
SIZE (TurboKid-1.0.1-py2.5.egg) = 7271
|
||||
MD5 (TurboKid-1.0.4.tar.gz) = 0dc9eba1783244a9800b8c4316d38341
|
||||
SHA256 (TurboKid-1.0.4.tar.gz) = 4a570aa1aae4595c4cc99693d25894e6448cbf841d16e317c23be0a213bd7ac0
|
||||
SIZE (TurboKid-1.0.4.tar.gz) = 4080
|
||||
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
PKGNAME=$1
|
||||
#
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected Argument $2!!!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
PKGNAME=$1
|
||||
#
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
|
||||
;;
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected Argument $2!!!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
@ -1,15 +1,17 @@
|
||||
@comment $FreeBSD$
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/kidsupport.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/kidsupport.pyc
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/kidsupport.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/kidsupport.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid/kidsupport.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbokid
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
|
Loading…
Reference in New Issue
Block a user