From 83f96e288340217497a6932651e8f6d266c41aa2 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Wed, 7 Aug 2013 23:34:55 +0000 Subject: [PATCH] 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 --- devel/Makefile | 1 + devel/py-jira/Makefile | 24 +++++++++ devel/py-jira/distinfo | 2 + devel/py-jira/files/patch-tlslite_requirement | 12 +++++ devel/py-jira/pkg-descr | 3 ++ devel/py-jira/pkg-plist | 54 +++++++++++++++++++ 6 files changed, 96 insertions(+) create mode 100644 devel/py-jira/Makefile create mode 100644 devel/py-jira/distinfo create mode 100644 devel/py-jira/files/patch-tlslite_requirement create mode 100644 devel/py-jira/pkg-descr create mode 100644 devel/py-jira/pkg-plist 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 +# $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 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%%