git: 6782b5697692 - main - www/py-ticketutil: Add py-ticketutil 1.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 18:08:19 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6782b5697692accb194410d9d79a7c1862e485c3 commit 6782b5697692accb194410d9d79a7c1862e485c3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-18 17:51:44 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-18 18:00:43 +0000 www/py-ticketutil: Add py-ticketutil 1.8.0 ticketutil is a Python module that allows you to easily interact with various ticketing tools using their REST APIs. Currently, the supported tools are JIRA, RT, Redmine, Bugzilla, and ServiceNow. All tools support HTTP Basic authentication, while JIRA and RT also support Kerberos authentication. Additionally, Bugzilla supports API key authentication and Jira supports Personal Access Token authentication. This module allows you to create tickets, add comments, edit ticket fields, and change the status of tickets in each tool. Additional lower-level tool-specific functions are supported - adding and removing watchers in JIRA, adding attachments in JIRA, etc. --- www/Makefile | 1 + www/py-ticketutil/Makefile | 22 ++++++++++++++++++++++ www/py-ticketutil/distinfo | 3 +++ www/py-ticketutil/files/patch-setup.py | 9 +++++++++ www/py-ticketutil/pkg-descr | 11 +++++++++++ 5 files changed, 46 insertions(+) diff --git a/www/Makefile b/www/Makefile index 707e47291172..84df4eb54659 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1791,6 +1791,7 @@ SUBDIR += py-starlette SUBDIR += py-swapper SUBDIR += py-textile + SUBDIR += py-ticketutil SUBDIR += py-tornado SUBDIR += py-tornado4 SUBDIR += py-tornado5 diff --git a/www/py-ticketutil/Makefile b/www/py-ticketutil/Makefile new file mode 100644 index 000000000000..61a381c35bdb --- /dev/null +++ b/www/py-ticketutil/Makefile @@ -0,0 +1,22 @@ +PORTNAME= ticketutil +PORTVERSION= 1.8.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python ticketing utility supporting JIRA, RT, Redmine, Bugzilla, and ServiceNow +WWW= https://github.com/dmranck/ticketutil + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.2.0:security/py-gssapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.6.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-kerberos>=0.8.0:security/py-requests-kerberos@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-ticketutil/distinfo b/www/py-ticketutil/distinfo new file mode 100644 index 000000000000..2e53cd561a0b --- /dev/null +++ b/www/py-ticketutil/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681052898 +SHA256 (ticketutil-1.8.0.tar.gz) = 82fc4ebbeaee7422e7ca8ef783abfefb74b2880fe066a6bddd5ed9a12020959c +SIZE (ticketutil-1.8.0.tar.gz) = 20783 diff --git a/www/py-ticketutil/files/patch-setup.py b/www/py-ticketutil/files/patch-setup.py new file mode 100644 index 000000000000..68d43e12c257 --- /dev/null +++ b/www/py-ticketutil/files/patch-setup.py @@ -0,0 +1,9 @@ +--- setup.py.orig 2023-01-13 16:45:59 UTC ++++ setup.py +@@ -22,5 +22,5 @@ setup( + download_url='https://github.com/dmranck/ticketutil/tarball/1.8.0', + keywords=['jira', 'bugzilla', 'rt', 'redmine', 'servicenow', 'ticket', 'rest'], + install_requires=['gssapi>=1.2.0', 'requests>=2.6.0', 'requests-kerberos>=0.8.0'], +- data_files=[('.', ['HISTORY.rst'])] ++ data_files=[('', ['HISTORY.rst'])] + ) diff --git a/www/py-ticketutil/pkg-descr b/www/py-ticketutil/pkg-descr new file mode 100644 index 000000000000..97af0a174856 --- /dev/null +++ b/www/py-ticketutil/pkg-descr @@ -0,0 +1,11 @@ +ticketutil is a Python module that allows you to easily interact with various +ticketing tools using their REST APIs. Currently, the supported tools are JIRA, +RT, Redmine, Bugzilla, and ServiceNow. All tools support HTTP Basic +authentication, while JIRA and RT also support Kerberos authentication. +Additionally, Bugzilla supports API key authentication and Jira supports +Personal Access Token authentication. + +This module allows you to create tickets, add comments, edit ticket fields, and +change the status of tickets in each tool. Additional lower-level tool-specific +functions are supported - adding and removing watchers in JIRA, adding +attachments in JIRA, etc.