git: d071c7aadcce - main - irc/py-sopel: update to 8.0.0 and un-deprecate
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jun 2024 21:21:47 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=d071c7aadcce0a1af187d9c169024354fbfb32a1 commit d071c7aadcce0a1af187d9c169024354fbfb32a1 Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-06-24 21:16:29 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-06-24 21:18:33 +0000 irc/py-sopel: update to 8.0.0 and un-deprecate Further changes: * Put COPYING on files/ (No longer included in the distribution file). * Use sqlalchemy14 instead of sqlalchemy13. * Use pep517 instead of distutils. * Add files/patch-pyproject.toml. ChangeLog: https://github.com/sopel-irc/sopel/releases/tag/v8.0.0 PR: 279656 --- irc/py-sopel/Makefile | 14 ++++++-------- irc/py-sopel/distinfo | 6 +++--- irc/py-sopel/files/COPYING | 23 +++++++++++++++++++++++ irc/py-sopel/files/patch-pyproject.toml | 9 +++++++++ 4 files changed, 41 insertions(+), 11 deletions(-) diff --git a/irc/py-sopel/Makefile b/irc/py-sopel/Makefile index 533cf374cf21..1fe300636be8 100644 --- a/irc/py-sopel/Makefile +++ b/irc/py-sopel/Makefile @@ -1,6 +1,5 @@ PORTNAME= sopel -DISTVERSION= 7.1.9 -PORTREVISION= 1 +DISTVERSION= 8.0.0 CATEGORIES= irc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +11,11 @@ WWW= https://sopel.chat/ LICENSE= EFLv2 LICENSE_GROUPS= FSF GPL OSI LICENSE_NAME= Eiffel Forum License, version 2 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${FILESDIR}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -DEPRECATED= Depends on expired databases/py-sqlalchemy13 -EXPIRATION_DATE=2024-06-04 - +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ @@ -25,13 +23,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}praw>0:www/py-praw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlalchemy13>0:databases/py-sqlalchemy13@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>0:databases/py-sqlalchemy14@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 USE_RC_SUBR= sopel SUB_FILES+= pkg-message diff --git a/irc/py-sopel/distinfo b/irc/py-sopel/distinfo index 384a7f61a75c..65b1e09053cc 100644 --- a/irc/py-sopel/distinfo +++ b/irc/py-sopel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1660249423 -SHA256 (sopel-7.1.9.tar.gz) = 209fa8bcb42febf514d687a9994423cda5811b745d777c6fba2ec58caf3952bb -SIZE (sopel-7.1.9.tar.gz) = 263438 +TIMESTAMP = 1718049976 +SHA256 (sopel-8.0.0.tar.gz) = 8ee2c9a7412de6a319c01673c347b8b4a83570162a02c1fc294cea36820fef45 +SIZE (sopel-8.0.0.tar.gz) = 249956 diff --git a/irc/py-sopel/files/COPYING b/irc/py-sopel/files/COPYING new file mode 100644 index 000000000000..7d1cd07a09d5 --- /dev/null +++ b/irc/py-sopel/files/COPYING @@ -0,0 +1,23 @@ + + Eiffel Forum License, version 2 + + 1. Permission is hereby granted to use, copy, modify and/or + distribute this package, provided that: + * copyright notices are retained unchanged, + * any distribution of this package, whether modified or not, + includes this license text. + 2. Permission is hereby also granted to distribute binary programs + which depend on this package. If the binary program depends on a + modified version of this package, you are encouraged to publicly + release the modified version of this package. + +*********************** + +THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE. + +*********************** diff --git a/irc/py-sopel/files/patch-pyproject.toml b/irc/py-sopel/files/patch-pyproject.toml new file mode 100644 index 000000000000..517f559fcbab --- /dev/null +++ b/irc/py-sopel/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2024-06-10 20:23:53 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools~=66.1", "wheel"] ++requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta" + + [tool.setuptools]