From nobody Tue Apr 18 18:08:19 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Bjv6Cnkz45Rny; Tue, 18 Apr 2023 18:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Bjv4lZGz4Dfd; Tue, 18 Apr 2023 18:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LTGsHyHgvqA7983zsZv2aILHCNATd9DzLEEQCfEPGlE=; b=PIXLfpXifeqPQiBUAit/dhj9ldW7w3P+cBfdfUwD92Oo9DMd4CnQ0uWNXE/t+6vB23Yjl2 kdi3A3HsXoGQB8KAWd+3k7FLzL5wFL6dzd/9+oWhJsKSL9H7oKYYaIg2xlfadXostQv+Jh 6NU2cYMre2cr+P5xfTWPblkmEgSR1mp2+D+eT+P4fGogQisByDUoaKMZ7zTNvXzHDvfbO4 jAtRCm6PYgEgggy1RsW7NrmtkHVczeNiX74Iyo6JvzJ9skyfPZ2c2rSZ2WbZ96GldE8lZE cV3PpnzzyFSo34vPRS1FxEJif0PaDq4pU/9twB2BRjSuxGK67W7N8qQxLBVXyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LTGsHyHgvqA7983zsZv2aILHCNATd9DzLEEQCfEPGlE=; b=fiRNAOclvb1DWbs4M9xFJFzSzi7a2ABM5HxUE0P7eKycH4XMiXNv/fAJZs0x3fw8JJlKgK 2iRyR84irjU9Rfe9kp3tjtbCKJlnw4tvw7qj28wE6L0/pB3uxEx1mVNeobUvjgEmYs1MlM gcBciSPBeSiWSq44iw9I9/in1trKmN9q3z0GDxrtaRzEEmu8AsFv8k518LFGd7OiXAmSk/ Mm8eZJJrSrvvABawQrZHJqh2k4ouIWm1RDL56jMmSM7fjfxhFKxVUwcVGx/djnEmCAoXyQ KdaJzR+IlyXcPcPDD/nFC1eR6Do48vdnpSzI8rhQHFh8ncMbdSSueW2h5GfaQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841299; a=rsa-sha256; cv=none; b=wUsysoAbRYFilTBF2c3EAqaQi4tC8cXBrTnW/v3hVwJlZ9VvTLOu2GjeePy6e2E7qp77JQ yeY61dzSHcN/+3Dimmcy+VHez2IwqhoxL31SXoKkehmR/5yk056M0k4Vxu2wVbB6+3VnGw slGMjVecDqq4wTdMtEnY1hmzgnjWiFJ/y7UICm7o/5oNoIzPbVJACUs9d338o4Ixdbto67 7+U1BUeAD/HyBlGpZvg0r+CcdHHTen0YPV+LUZgT/wY5gwVA3xWEB7yDu2Z9hJNLuowPY5 bd14wAQ2K9vd4MtWeOV0BBSydN3fyBbx4BN8OwYslUtQyURtn9DguuIZxBpIEg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Bjv3X5GzMjn; Tue, 18 Apr 2023 18:08:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33II8JTQ078565; Tue, 18 Apr 2023 18:08:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33II8JFM078564; Tue, 18 Apr 2023 18:08:19 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:08:19 GMT Message-Id: <202304181808.33II8JFM078564@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6782b5697692 - main - www/py-ticketutil: Add py-ticketutil 1.8.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6782b5697692accb194410d9d79a7c1862e485c3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6782b5697692accb194410d9d79a7c1862e485c3 commit 6782b5697692accb194410d9d79a7c1862e485c3 Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:51:44 +0000 Commit: Po-Chuan Hsieh 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 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.