diff --git a/www/Makefile b/www/Makefile index 5448668061a1..b3d5c8a46561 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1880,6 +1880,7 @@ SUBDIR += py-unit SUBDIR += py-url SUBDIR += py-urlgrabber + SUBDIR += py-urlman SUBDIR += py-urlobject SUBDIR += py-urlwatch SUBDIR += py-user_agent diff --git a/www/py-urlman/Makefile b/www/py-urlman/Makefile new file mode 100644 index 000000000000..c938b4305604 --- /dev/null +++ b/www/py-urlman/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= urlman +DISTVERSION= 1.2.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= alex@xanderio.de +COMMENT= Nicer way to do URLs for Django models + +LICENSE= APACHE20 + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/www/py-urlman/distinfo b/www/py-urlman/distinfo new file mode 100644 index 000000000000..b8c2760289cf --- /dev/null +++ b/www/py-urlman/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1563114829 +SHA256 (urlman-1.2.0.tar.gz) = 32d8d3fca062be7dee97d144dff08f312d4f444d28550e0a38651c02353c75c8 +SIZE (urlman-1.2.0.tar.gz) = 3599 diff --git a/www/py-urlman/pkg-descr b/www/py-urlman/pkg-descr new file mode 100644 index 000000000000..19007d06d1c2 --- /dev/null +++ b/www/py-urlman/pkg-descr @@ -0,0 +1,5 @@ +Replaces things like get_absolute_url with a .urls attribute that can reference +other URLs and build sensible trees of things, and can then be accessed using +instance.urls.name. + +WWW: https://github.com/andrewgodwin/urlman