A pluggable command-line frontend, including commands to setup package
file layouts. This is a pluggable command-line tool. It includes some built-in features; * Create file layouts for packages. For instance, paste create --template=basic_package MyPackage will create a setuptools-ready file layout. * Serving up web applications, with configuration based on paste.deploy. Author: Ian Bicking <ianb at colorstudy com> WWW: http://pythonpaste.org/script/ PR: ports/106759 Submitted by: Dryice Liu <dryice at dryice.name> Approved by: alexbl (mentor, implicit)
This commit is contained in:
parent
a2821cdbbc
commit
b08c9c6878
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183021
@ -946,6 +946,7 @@
|
||||
SUBDIR += py-openssl-proxy
|
||||
SUBDIR += py-paste
|
||||
SUBDIR += py-pastedeploy
|
||||
SUBDIR += py-pastescript
|
||||
SUBDIR += py-prewikka
|
||||
SUBDIR += py-pullparser
|
||||
SUBDIR += py-qp
|
||||
|
48
www/py-pastescript/Makefile
Normal file
48
www/py-pastescript/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: py-pastescript
|
||||
# Date created: 15 December 2006
|
||||
# Whom: Dryice Liu <dryice@dryice.name>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PasteScript
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= http://cheeseshop.python.org/packages/source/P/PasteScript/ \
|
||||
http://dryice.name/computer/FreeBSD/distfiles/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= dryice@FreeBSD.org
|
||||
COMMENT= A pluggable command-line frontend
|
||||
|
||||
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
RUN_DEPENDS+= cheetah:${PORTSDIR}/devel/py-cheetah \
|
||||
${PYTHON_SITELIBDIR}/${PYFLUP_EGG}/flup/__init__.py:${PORTSDIR}/www/py-flup \
|
||||
${PYTHON_SITELIBDIR}/${PYPASTE_EGG}/paste/__init__.py:${PORTSDIR}/www/py-paste \
|
||||
${PYTHON_SITELIBDIR}/${PYPASTEDEPLOY_EGG}/paste/deploy/__init__.py:${PORTSDIR}/www/py-pastedeploy \
|
||||
${PYTHON_SITELIBDIR}/${PYWSGIUTILS_EGG}:${PORTSDIR}/devel/py-wsgiutils \
|
||||
${PYTHON_SITELIBDIR}/twisted/plugins/twisted_web2.py:${PORTSDIR}/www/py-twistedWeb2
|
||||
|
||||
# due to devel/py-cheetah
|
||||
NO_PACKAGE= no, not yet
|
||||
|
||||
USE_PYTHON= 2.3+
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SUB_FILES+= pkg-deinstall pkg-install
|
||||
SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
||||
EGG="${PORTNAME}==${PORTVERSION}"
|
||||
|
||||
PLIST_SUB= PYPASTESCRIPT_EGG=${PYPASTESCRIPT_EGG}
|
||||
|
||||
PYPASTESCRIPT_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PYFLUP_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-flup/Makefile -V PYFLUP_EGG
|
||||
PYPASTE_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-paste/Makefile -V PYPASTE_EGG
|
||||
PYPASTEDEPLOY_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-pastedeploy/Makefile -V PYPASTEDEPLOY_EGG
|
||||
PYWSGIUTILS_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-wsgiutils/Makefile -V PYWSGIUTILS_EGG
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
www/py-pastescript/distinfo
Normal file
3
www/py-pastescript/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (PasteScript-1.0.tar.gz) = 5ea4a56bc757685aaadddafbe0d64244
|
||||
SHA256 (PasteScript-1.0.tar.gz) = df88cfc18853a09dec6ed57d19c61d8b67a29d4bc7494eabe3f00ad1beb2af46
|
||||
SIZE (PasteScript-1.0.tar.gz) = 80048
|
17
www/py-pastescript/files/pkg-deinstall.in
Normal file
17
www/py-pastescript/files/pkg-deinstall.in
Normal file
@ -0,0 +1,17 @@
|
||||
#!/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
|
16
www/py-pastescript/files/pkg-install.in
Normal file
16
www/py-pastescript/files/pkg-install.in
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
PKGNAME=$1
|
||||
#
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
easy_install -q -x -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
|
||||
;;
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected Argument $2!!!"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
16
www/py-pastescript/pkg-descr
Normal file
16
www/py-pastescript/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
A pluggable command-line frontend, including commands to setup package
|
||||
file layouts.
|
||||
|
||||
This is a pluggable command-line tool.
|
||||
|
||||
It includes some built-in features;
|
||||
|
||||
* Create file layouts for packages. For instance, paste create
|
||||
--template=basic_package MyPackage will create a setuptools-ready
|
||||
file layout.
|
||||
|
||||
* Serving up web applications, with configuration based on
|
||||
paste.deploy.
|
||||
|
||||
Author: Ian Bicking <ianb at colorstudy com>
|
||||
WWW: http://pythonpaste.org/script/
|
114
www/py-pastescript/pkg-plist
Normal file
114
www/py-pastescript/pkg-plist
Normal file
@ -0,0 +1,114 @@
|
||||
bin/paster
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/scripts/paster
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/namespace_packages.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/setup.cfg
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/setup.py_tmpl
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/+package+/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/+package+/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/+package+/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/secret.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/secret.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/secret.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/string24.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/string24.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/string24.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/subprocess24.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/subprocess24.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/subprocess24.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/uuid.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/uuid.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/uuid.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/appinstall.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/appinstall.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/appinstall.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/bool_optparse.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/bool_optparse.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/bool_optparse.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cgi_server.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cgi_server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cgi_server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/checkperms.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/checkperms.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/checkperms.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cherrypy_server.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cherrypy_server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/cherrypy_server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/command.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/command.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/command.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/copydir.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/copydir.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/copydir.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/create_distro.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/create_distro.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/create_distro.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/default_sysconfig.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/default_sysconfig.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/default_sysconfig.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/entrypoints.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/entrypoints.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/entrypoints.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/epdesc.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/epdesc.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/epdesc.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/exe.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/exe.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/exe.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/filemaker.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/filemaker.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/filemaker.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/flup_server.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/flup_server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/flup_server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/grep.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/grep.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/grep.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/help.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/help.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/help.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/interfaces.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/interfaces.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/interfaces.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/pluginlib.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/pluginlib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/pluginlib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/serve.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/serve.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/serve.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/testapp.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/testapp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/testapp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/twisted_web2_server.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/twisted_web2_server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/twisted_web2_server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/wsgiutils_server.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/wsgiutils_server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/wsgiutils_server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/__init__.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package/+package+
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates/basic_package
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/templates
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script/util
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste/script
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO/scripts
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%/paste
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYPASTESCRIPT_EGG%%
|
Loading…
Reference in New Issue
Block a user