aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-03-19 08:55:31 +0800
committerswills <swills@FreeBSD.org>2014-03-19 08:55:31 +0800
commit040e30165cd1ec884ac39cd7913f485c0ec87ea4 (patch)
treeeb950bb193ee9eacb2e9b7c55894d0718d0d1c1d
parente1d38ccc8017f1b46e3e10f8573a7852e7e8a63b (diff)
downloadfreebsd-ports-gnome-040e30165cd1ec884ac39cd7913f485c0ec87ea4.tar.gz
freebsd-ports-gnome-040e30165cd1ec884ac39cd7913f485c0ec87ea4.tar.zst
freebsd-ports-gnome-040e30165cd1ec884ac39cd7913f485c0ec87ea4.zip
Logan is a toolkit for running standalone Django applications. It provides you
with tools to create a CLI runner, manage settings, and the ability to bootstrap the process. WWW: https://github.com/dcramer/logan PR: ports/187690 Submitted by: Johannes Meixner <xmj@chaot.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-logan/Makefile39
-rw-r--r--devel/py-logan/distinfo2
-rw-r--r--devel/py-logan/files/patch-setup.py16
-rw-r--r--devel/py-logan/pkg-descr5
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bbdc8ddd915d..89555ebe9e5c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3678,6 +3678,7 @@
SUBDIR += py-lock_file
SUBDIR += py-lockfile
SUBDIR += py-log4py
+ SUBDIR += py-logan
SUBDIR += py-logilab-common
SUBDIR += py-lxml
SUBDIR += py-magic
diff --git a/devel/py-logan/Makefile b/devel/py-logan/Makefile
new file mode 100644
index 000000000000..1dcac4f18171
--- /dev/null
+++ b/devel/py-logan/Makefile
@@ -0,0 +1,39 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME= logan
+PORTVERSION= 0.5.10
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= xmj@chaot.net
+COMMENT= Logan is a toolkit for running standalone Django applications
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>0:${PORTSDIR}/www/py-django
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>0:${PORTSDIR}/www/py-django \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:${PORTSDIR}/devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}unittest2:${PORTSDIR}/devel/py-unittest2
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+PORTDOCS= README.rst
+
+DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+
+USE_GITHUB= yes
+GH_ACCOUNT= dcramer
+GH_COMMIT= 7bf71b5
+GH_TAGNAME= 0.5.10
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}/README.rst
+
+check test: build
+ cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.mk>
diff --git a/devel/py-logan/distinfo b/devel/py-logan/distinfo
new file mode 100644
index 000000000000..d0ff3ecc6ebd
--- /dev/null
+++ b/devel/py-logan/distinfo
@@ -0,0 +1,2 @@
+SHA256 (logan-0.5.10.tar.gz) = 0e8abffbec5595545c962e0be2b68a1479345a33083a692e7977929e7ef6b8e4
+SIZE (logan-0.5.10.tar.gz) = 10269
diff --git a/devel/py-logan/files/patch-setup.py b/devel/py-logan/files/patch-setup.py
new file mode 100644
index 000000000000..dcf0d11acf24
--- /dev/null
+++ b/devel/py-logan/files/patch-setup.py
@@ -0,0 +1,16 @@
+--- ./setup.py.orig 2014-03-17 18:14:19.000000000 +0200
++++ ./setup.py 2014-03-17 18:14:54.000000000 +0200
+@@ -23,13 +23,6 @@
+ long_description=__doc__,
+ zip_safe=False,
+ install_requires=[],
+- tests_require=[
+- 'django>=1',
+- 'mock>=0.8.0',
+- 'nose>=1.1.2',
+- 'unittest2',
+- ],
+- test_suite='unittest2.collector',
+ license='Apache License 2.0',
+ include_package_data=True,
+ classifiers=[
diff --git a/devel/py-logan/pkg-descr b/devel/py-logan/pkg-descr
new file mode 100644
index 000000000000..9496b9c594cb
--- /dev/null
+++ b/devel/py-logan/pkg-descr
@@ -0,0 +1,5 @@
+Logan is a toolkit for running standalone Django applications. It provides you
+with tools to create a CLI runner, manage settings, and the ability to bootstrap
+the process.
+
+WWW: https://github.com/dcramer/logan