diff options
author | wen <wen@FreeBSD.org> | 2017-04-07 15:44:32 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2017-04-07 15:44:32 +0800 |
commit | c1220f9ade30b9dfa81b6c70762737c6261db1d6 (patch) | |
tree | 72c215f984f3b773973269099595cd84e31d2b0b /www | |
parent | 33e1a93c419059cd1c804336113d92561415e167 (diff) | |
download | freebsd-ports-gnome-c1220f9ade30b9dfa81b6c70762737c6261db1d6.tar.gz freebsd-ports-gnome-c1220f9ade30b9dfa81b6c70762737c6261db1d6.tar.zst freebsd-ports-gnome-c1220f9ade30b9dfa81b6c70762737c6261db1d6.zip |
- Repocopy www/py-django110 --> www/py-django111 and update to 1.11
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-django111/Makefile | 65 | ||||
-rw-r--r-- | www/py-django111/distinfo | 3 | ||||
-rw-r--r-- | www/py-django111/pkg-descr | 10 |
4 files changed, 79 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d5d528502b76..ae851c75528c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1622,6 +1622,7 @@ SUBDIR += py-django-tinymce SUBDIR += py-django-voting SUBDIR += py-django110 + SUBDIR += py-django111 SUBDIR += py-django16 SUBDIR += py-django16-tastypie SUBDIR += py-django18 diff --git a/www/py-django111/Makefile b/www/py-django111/Makefile new file mode 100644 index 000000000000..b7469386407f --- /dev/null +++ b/www/py-django111/Makefile @@ -0,0 +1,65 @@ +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> +# $FreeBSD$ + +PORTNAME= django +PORTVERSION= 1.11 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP \ + https://www.djangoproject.com/m/releases/${PORTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 111 +DISTNAME= Django-${PORTVERSION} +DIST_SUBDIR= python + +MAINTAINER= python@FreeBSD.org +COMMENT= High-level Python Web Framework + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +NO_ARCH= yes +USES= cpe python +USE_PYTHON= autoplist distutils + +CONFLICTS_INSTALL= py??-django-devel-* py??-django1[689]-* py??-django110-* +CPE_VENDOR= djangoproject + +DOCSDIR= ${PREFIX}/share/doc/py-django + +OPTIONS_DEFINE= DOCS FASTCGI HTMLDOCS +OPTIONS_DEFAULT= SQLITE + +OPTIONS_GROUP= DATABASE +OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE + +HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) + +PLIST_FILES= man/man1/django-admin.1.gz + +HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx +PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2 +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb +SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +FASTCGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup>0:www/py-flup + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MHTMLDOCS} && empty(PORT_OPTIONS:MDOCS) +IGNORE= you cannot build documentation with DOCS option disabled +PORTDOCS= * +.endif + +post-build-HTMLDOCS-on: + cd ${WRKSRC}/docs && ${MAKE} html + +post-install: + ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1 + @${ECHO_MSG} "" + @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" + @${ECHO_MSG} "" + +post-install-HTMLDOCS-on: + ${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} + +.include <bsd.port.mk> diff --git a/www/py-django111/distinfo b/www/py-django111/distinfo new file mode 100644 index 000000000000..196e237cac64 --- /dev/null +++ b/www/py-django111/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1491548144 +SHA256 (python/Django-1.11.tar.gz) = b6f3b864944276b4fd1d099952112696558f78b77b39188ac92b6c5e80152c30 +SIZE (python/Django-1.11.tar.gz) = 7853479 diff --git a/www/py-django111/pkg-descr b/www/py-django111/pkg-descr new file mode 100644 index 000000000000..0ea493b87ab6 --- /dev/null +++ b/www/py-django111/pkg-descr @@ -0,0 +1,10 @@ +Django is a high-level Python Web framework that encourages rapid development +and clean, pragmatic design. + +Developed and used over the past two years by a fast-moving online-news +operation, Django was designed from scratch to handle two challenges: the +intensive deadlines of a newsroom and the stringent requirements of experienced +Web developers. It has convenient niceties for developing content-management +systems, but it's an excellent tool for building any Web site. + +WWW: https://www.djangoproject.com/ |