Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 13:17:41 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335885 - in head/www: . py-django-dpaste py-django-dpaste/files
Message-ID:  <201312081317.rB8DHfiq075610@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Dec  8 13:17:41 2013
New Revision: 335885
URL: http://svnweb.freebsd.org/changeset/ports/335885

Log:
  www/py-django-dpaste: Pastebin application that powers dpaste.de [NEW PORT]
  
  dpaste is a Django based pastebin. It's intended to run separately but its
  also possible to be installed into an existing Django project like a regular
  app. You can find a live example on dpaste.de
  
  WWW: https://github.com/bartTC/dpaste/

Added:
  head/www/py-django-dpaste/
  head/www/py-django-dpaste/Makefile   (contents, props changed)
  head/www/py-django-dpaste/distinfo   (contents, props changed)
  head/www/py-django-dpaste/files/
  head/www/py-django-dpaste/files/MANIFEST.in   (contents, props changed)
  head/www/py-django-dpaste/files/patch-setup.py   (contents, props changed)
  head/www/py-django-dpaste/pkg-descr   (contents, props changed)
  head/www/py-django-dpaste/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Dec  8 13:13:51 2013	(r335884)
+++ head/www/Makefile	Sun Dec  8 13:17:41 2013	(r335885)
@@ -1495,6 +1495,7 @@
     SUBDIR += py-django-classy-tags
     SUBDIR += py-django-cms
     SUBDIR += py-django-devel
+    SUBDIR += py-django-dpaste
     SUBDIR += py-django-evolution
     SUBDIR += py-django-extensions
     SUBDIR += py-django-filer

Added: head/www/py-django-dpaste/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/Makefile	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1,30 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	dpaste
+PORTVERSION=	2.0
+CATEGORIES=	www python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}django-
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Pastebin Django application that powers dpaste.de
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.4:${PORTSDIR}/www/py-django \
+		${PYTHON_PKGNAMEPREFIX}django-mptt>=0.6.0:${PORTSDIR}/www/py-django-mptt \
+		${PYTHON_PKGNAMEPREFIX}pygments>=1.6:${PORTSDIR}/textproc/py-pygments \
+		${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests
+
+USE_GITHUB=		yes
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_AUTOPLIST=	yes
+
+GH_ACCOUNT=	bartTC
+GH_COMMIT=	129be43
+
+post-patch:
+	@${CP} ${FILESDIR}/MANIFEST.in ${WRKSRC}
+
+.include <bsd.port.mk>

Added: head/www/py-django-dpaste/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/distinfo	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1,2 @@
+SHA256 (dpaste-2.0.tar.gz) = d6704e01765a9e83d85729708be6464271c4e8a6fd65552f9c24d03d169dcc5f
+SIZE (dpaste-2.0.tar.gz) = 113097

Added: head/www/py-django-dpaste/files/MANIFEST.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/files/MANIFEST.in	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1,3 @@
+include *.rst LICENSE
+recursive-include dpaste/templates *
+recursive-include dpaste/static *

Added: head/www/py-django-dpaste/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/files/patch-setup.py	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1,11 @@
+--- ./setup.py.orig	2013-12-07 23:20:33.881977668 +1100
++++ ./setup.py	2013-12-07 23:20:46.477070760 +1100
+@@ -24,7 +24,7 @@
+ 
+     packages=find_packages(),
+     package_data={'dpaste': ['static/*.*', 'templates/*.*']},
+-    scripts=('manage.py',),
++    include_package_data=True,
+     install_requires=(
+         'django>=1.4',
+         'django-mptt>=0.6.0',

Added: head/www/py-django-dpaste/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/pkg-descr	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1,5 @@
+dpaste is a Django based pastebin. It's intended to run separately but its
+also possible to be installed into an existing Django project like a regular
+app. You can find a live example on dpaste.de
+
+WWW: https://github.com/bartTC/dpaste/

Added: head/www/py-django-dpaste/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-dpaste/pkg-plist	Sun Dec  8 13:17:41 2013	(r335885)
@@ -0,0 +1 @@
+@comment $FreeBSD$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081317.rB8DHfiq075610>