aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-08-08 07:34:55 +0800
committerwg <wg@FreeBSD.org>2013-08-08 07:34:55 +0800
commitb84bf2df7a4200a4ddefe2e29710ec8ad83b1d8e (patch)
tree88d9c1271e37cb70643ee9bacaf3cb7920bd4d92
parent0bae7b0c0dc44cd9f177cd336962fa59a4dca2c5 (diff)
downloadfreebsd-ports-gnome-b84bf2df7a4200a4ddefe2e29710ec8ad83b1d8e.tar.gz
freebsd-ports-gnome-b84bf2df7a4200a4ddefe2e29710ec8ad83b1d8e.tar.zst
freebsd-ports-gnome-b84bf2df7a4200a4ddefe2e29710ec8ad83b1d8e.zip
devel/py-jira: Library to ease use of the JIRA 5 REST APIs
A library to ease use of the JIRA 5 REST APIs WWW: http://bitbucket.org/bspeakmon/jira-python PR: ports/180849 Submitted by: Alexandros Kosiaris <akosiaris gmail.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-jira/Makefile24
-rw-r--r--devel/py-jira/distinfo2
-rw-r--r--devel/py-jira/files/patch-tlslite_requirement12
-rw-r--r--devel/py-jira/pkg-descr3
-rw-r--r--devel/py-jira/pkg-plist54
6 files changed, 96 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 99a5117ad3fc..11e0fabc0da1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3575,6 +3575,7 @@
SUBDIR += py-iterpipes
SUBDIR += py-itools
SUBDIR += py-jcc
+ SUBDIR += py-jira
SUBDIR += py-jmespath
SUBDIR += py-jsmin
SUBDIR += py-json-py
diff --git a/devel/py-jira/Makefile b/devel/py-jira/Makefile
new file mode 100644
index 000000000000..5fafb260f979
--- /dev/null
+++ b/devel/py-jira/Makefile
@@ -0,0 +1,24 @@
+# Created by: Alexandros Kosiaris <akosiaris+ports@gmail.com>
+# $FreeBSD$
+
+PORTNAME= jira
+PORTVERSION= 0.13
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= jira-python-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+
+MAINTAINER= akosiaris+ports@gmail.com
+COMMENT= Library to ease use of the JIRA 5 REST APIs
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.3.0:${PORTSDIR}/www/py-requests-oauthlib \
+ ipython${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/devel/ipython \
+ ${PYTHON_PKGNAMEPREFIX}tlslite>=0.4.1:${PORTSDIR}/security/py-tlslite \
+ ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= jira_python
+
+.include <bsd.port.mk>
diff --git a/devel/py-jira/distinfo b/devel/py-jira/distinfo
new file mode 100644
index 000000000000..7accb03c6fc3
--- /dev/null
+++ b/devel/py-jira/distinfo
@@ -0,0 +1,2 @@
+SHA256 (jira-python-0.13.tar.gz) = 995cdace8cac68fd3189e0c19ae7fe283cbbcbf6a3442cba15f2da9fc303014d
+SIZE (jira-python-0.13.tar.gz) = 31945
diff --git a/devel/py-jira/files/patch-tlslite_requirement b/devel/py-jira/files/patch-tlslite_requirement
new file mode 100644
index 000000000000..fd14ed0e1ac1
--- /dev/null
+++ b/devel/py-jira/files/patch-tlslite_requirement
@@ -0,0 +1,12 @@
+diff -ru setup.py setup.py
+--- setup.py 2013-04-10 09:30:59.000000000 +0300
++++ setup.py 2013-07-12 10:37:27.000000000 +0300
+@@ -11,7 +11,7 @@
+ install_requires=['requests>=1.0.0',
+ 'requests_oauthlib>=0.3.0',
+ 'ipython>=0.13',
+- 'tlslite==0.4.1'],
++ 'tlslite>=0.4.1'],
+ extras_require={
+ 'magic': ['python-magic>=0.4.2'],
+ },
diff --git a/devel/py-jira/pkg-descr b/devel/py-jira/pkg-descr
new file mode 100644
index 000000000000..9e4faeba6b3a
--- /dev/null
+++ b/devel/py-jira/pkg-descr
@@ -0,0 +1,3 @@
+A library to ease use of the JIRA 5 REST APIs
+
+WWW: http://bitbucket.org/bspeakmon/jira-python
diff --git a/devel/py-jira/pkg-plist b/devel/py-jira/pkg-plist
new file mode 100644
index 000000000000..2406dc322032
--- /dev/null
+++ b/devel/py-jira/pkg-plist
@@ -0,0 +1,54 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/client.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/client.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/client.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/exceptions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/auth.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/auth.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/auth.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/hook.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/hook.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth/hook.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/resources.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/resources.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/resources.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/version.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/version.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/version.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/tests.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/jirashell.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/jirashell.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools/jirashell.pyo
+bin/jirashell
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tools
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages/requests_oauth
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira/packages
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/jira
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%