From cf6c371912524933a5d8780062b15d82001e17ad Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 6 Jan 2024 06:32:45 +0100 Subject: [PATCH] devel/py-pygithub: Rename port to match upstream - Update version 1.57=>2.1.1 Changelog: https://github.com/PyGithub/PyGithub/releases/tag/v2.1.1 PR: 276122 --- MOVED | 1 + devel/Makefile | 2 +- devel/py-PyGithub/Makefile | 31 ++++++++++++++++++++ devel/py-PyGithub/distinfo | 3 ++ devel/{py-pygithub => py-PyGithub}/pkg-descr | 0 devel/py-frictionless/Makefile | 2 +- devel/py-pygithub/Makefile | 25 ---------------- devel/py-pygithub/distinfo | 3 -- math/mathlibtools/Makefile | 2 +- sysutils/py-azure-cli/Makefile | 2 +- sysutils/py-keep/Makefile | 2 +- 11 files changed, 40 insertions(+), 33 deletions(-) create mode 100644 devel/py-PyGithub/Makefile create mode 100644 devel/py-PyGithub/distinfo rename devel/{py-pygithub => py-PyGithub}/pkg-descr (100%) delete mode 100644 devel/py-pygithub/Makefile delete mode 100644 devel/py-pygithub/distinfo diff --git a/MOVED b/MOVED index ae6453913a6ea..9b21ea0ca2a68 100644 --- a/MOVED +++ b/MOVED @@ -2931,3 +2931,4 @@ sysutils/rtx|sysutils/mise|2024-01-03|Project renamed x11/hyprland-share-picker|x11/xdg-desktop-portal-hyprland|2024-01-05|Merged into main port sysutils/signon-qt5|sysutils/signond|2024-01-05|Renamed to match upstream and support flavors net-im/libaccounts-qt5|net-im/libaccounts-qt|2024-01-05|Renamed to support flavors +devel/py-pygithub|devel/py-PyGithub|2024-01-06|Rename port match upstream diff --git a/devel/Makefile b/devel/Makefile index a418cfa6042f0..af23d3ab86373 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4194,6 +4194,7 @@ SUBDIR += py-Products.ExternalEditor SUBDIR += py-Products.PloneLanguageTool SUBDIR += py-PyExecJS + SUBDIR += py-PyGithub SUBDIR += py-PyLD SUBDIR += py-PyUtilib SUBDIR += py-QtPy @@ -5298,7 +5299,6 @@ SUBDIR += py-pyformance SUBDIR += py-pygdbmi SUBDIR += py-pygit2 - SUBDIR += py-pygithub SUBDIR += py-pygpx SUBDIR += py-pyhashxx SUBDIR += py-pyhcl diff --git a/devel/py-PyGithub/Makefile b/devel/py-PyGithub/Makefile new file mode 100644 index 0000000000000..7d5dcf6c892d4 --- /dev/null +++ b/devel/py-PyGithub/Makefile @@ -0,0 +1,31 @@ +PORTNAME= PyGithub +DISTVERSION= 2.1.1 +CATEGORIES= devel www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyGithub-${PORTVERSION} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Python library implementing the full GitHub API v3 +WWW= https://github.com/jacquev6/PyGithub + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING.LESSER + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}deprecated>0:devel/py-deprecated@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.14.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.4.0:www/py-pyjwt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-PyGithub/distinfo b/devel/py-PyGithub/distinfo new file mode 100644 index 0000000000000..cfb5e1e0897b0 --- /dev/null +++ b/devel/py-PyGithub/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704518017 +SHA256 (PyGithub-2.1.1.tar.gz) = ecf12c2809c44147bce63b047b3d2e9dac8a41b63e90fcb263c703f64936b97c +SIZE (PyGithub-2.1.1.tar.gz) = 3330531 diff --git a/devel/py-pygithub/pkg-descr b/devel/py-PyGithub/pkg-descr similarity index 100% rename from devel/py-pygithub/pkg-descr rename to devel/py-PyGithub/pkg-descr diff --git a/devel/py-frictionless/Makefile b/devel/py-frictionless/Makefile index 8a94c2e6ed4c2..54b71fa17f1b8 100644 --- a/devel/py-frictionless/Makefile +++ b/devel/py-frictionless/Makefile @@ -63,7 +63,7 @@ EXCEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpyxl>=3.0:textproc/py-openpyxl@${P ${PYTHON_PKGNAMEPREFIX}tableschema-to-template>=0.0:textproc/py-tableschema-to-template@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=1.2:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlwt>=1.2:textproc/py-xlwt@${PY_FLAVOR} -GITHUB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygithub>=1.50:devel/py-pygithub@${PY_FLAVOR} +GITHUB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyGithub>=1.50:devel/py-PyGithub@${PY_FLAVOR} GSHEETS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygsheets>=2.0:www/py-pygsheets@${PY_FLAVOR} HTML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyquery>=1.4:devel/py-pyquery@${PY_FLAVOR} JSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ijson>=3.0:devel/py-ijson@${PY_FLAVOR} \ diff --git a/devel/py-pygithub/Makefile b/devel/py-pygithub/Makefile deleted file mode 100644 index fe47a72346176..0000000000000 --- a/devel/py-pygithub/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -PORTNAME= pygithub -PORTVERSION= 1.57 -CATEGORIES= devel www python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= PyGithub-${PORTVERSION} - -MAINTAINER= bofh@FreeBSD.org -COMMENT= Python library implementing the full GitHub API v3 -WWW= https://github.com/jacquev6/PyGithub - -LICENSE= LGPL3 -LICENSE_FILE= ${WRKSRC}/COPYING.LESSER - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.14.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0:www/py-pyjwt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}deprecated>0:devel/py-deprecated@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR} - -USES= python -USE_PYTHON= autoplist concurrent distutils - -NO_ARCH= yes - -.include diff --git a/devel/py-pygithub/distinfo b/devel/py-pygithub/distinfo deleted file mode 100644 index 19c559a5bcb81..0000000000000 --- a/devel/py-pygithub/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1672437004 -SHA256 (PyGithub-1.57.tar.gz) = c273f252b278fb81f1769505cc6921bdb6791e1cebd6ac850cc97dad13c31ff3 -SIZE (PyGithub-1.57.tar.gz) = 161671 diff --git a/math/mathlibtools/Makefile b/math/mathlibtools/Makefile index edf1890c93a31..d820bd67867bd 100644 --- a/math/mathlibtools/Makefile +++ b/math/mathlibtools/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>0:devel/py-atomicwrites@${PY_FL ${PYTHON_PKGNAMEPREFIX}gitpython>=2.1.11:devel/py-gitpython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>0:graphics/py-pydot@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pygithub>0:devel/py-pygithub@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}PyGithub>0:devel/py-PyGithub@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyaml>=3.13:textproc/py-pyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0.10.0:textproc/py-toml@${PY_FLAVOR} \ diff --git a/sysutils/py-azure-cli/Makefile b/sysutils/py-azure-cli/Makefile index 5743494b0f5b1..66b7581edb281 100644 --- a/sysutils/py-azure-cli/Makefile +++ b/sysutils/py-azure-cli/Makefile @@ -109,7 +109,7 @@ RUN_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}javaproperties>=0.5.1:devel/py-javaproperties@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsondiff>=2.0.0:devel/py-jsondiff@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}semver>=2.13.0:devel/py-semver@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pygithub>=1.55:devel/py-pygithub@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}PyGithub>=1.55:devel/py-PyGithub@${PY_FLAVOR} USES= azurepy python USE_PYTHON= autoplist concurrent cryptography distutils diff --git a/sysutils/py-keep/Makefile b/sysutils/py-keep/Makefile index 2ff818871673a..38ee8dad22271 100644 --- a/sysutils/py-keep/Makefile +++ b/sysutils/py-keep/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${FILESDIR}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}terminaltables>0:textproc/py-terminaltables@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pygithub>0:devel/py-pygithub@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}PyGithub>0:devel/py-PyGithub@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils