mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
New port py-routes. This is a Python re-implementation of the Rails routes
system for mapping URL's to Controllers/Actions and generating URL's. Approved by: itetcu (mentor, implicit)
This commit is contained in:
parent
e12f3b406e
commit
fb2bab4870
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190777
@ -1009,6 +1009,7 @@
|
||||
SUBDIR += py-qp
|
||||
SUBDIR += py-qpy
|
||||
SUBDIR += py-restclient
|
||||
SUBDIR += py-routes
|
||||
SUBDIR += py-scgi
|
||||
SUBDIR += py-scriptaculous
|
||||
SUBDIR += py-slimmer
|
||||
|
33
www/py-routes/Makefile
Normal file
33
www/py-routes/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: py-routes
|
||||
# Date created: April 24 2007
|
||||
# Whom: Dryice Liu <dryice@dryice.name>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= routes
|
||||
PORTVERSION= 1.6.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \
|
||||
http://dryice.name/computer/FreeBSD/distfiles/
|
||||
MASTER_SITE_SUBDIR= source/R/Routes
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Routes-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dryice@FreeBSD.org
|
||||
COMMENT= A Routing package for Python that matches URLs to dicts and vice versa
|
||||
|
||||
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
PYROUTES_EGG= Routes-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
|
||||
PYROUTES_EGG=${PYROUTES_EGG}
|
||||
|
||||
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-routes/distinfo
Normal file
3
www/py-routes/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Routes-1.6.3.tar.gz) = aac5f71e3b83a29159636f715a0921c8
|
||||
SHA256 (Routes-1.6.3.tar.gz) = 8241b68f1329c35fad10df66f04545e0e89bbb5ccba342758a719618cfe93498
|
||||
SIZE (Routes-1.6.3.tar.gz) = 59405
|
9
www/py-routes/pkg-descr
Normal file
9
www/py-routes/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Routes is a Python re-implementation of the Rails routes system for mapping
|
||||
URL's to Controllers/Actions and generating URL's. Routes makes it easy to
|
||||
create pretty and concise URL's that are RESTful with little effort.
|
||||
|
||||
Speedy and dynamic URL generation means you get a URL with minimal cruft
|
||||
(no big dangling query args). Shortcut features like Named Routes cut down
|
||||
on repetitive typing.
|
||||
|
||||
WWW: http://routes.groovie.org/
|
25
www/py-routes/pkg-plist
Normal file
25
www/py-routes/pkg-plist
Normal file
@ -0,0 +1,25 @@
|
||||
@unexec %%EASY_INSTALL_CMD%% -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/base.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/base.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/base.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/middleware.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/middleware.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/middleware.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/threadinglocal.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/threadinglocal.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/threadinglocal.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/util.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes/__init__.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/routes
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYROUTES_EGG%%
|
||||
@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/PYROUTES_EGG%%
|
Loading…
Reference in New Issue
Block a user