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]