mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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
This commit is contained in:
parent
fdaac4e920
commit
d071c7aadc
4 changed files with 41 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= sopel
|
PORTNAME= sopel
|
||||||
DISTVERSION= 7.1.9
|
DISTVERSION= 8.0.0
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= irc python
|
CATEGORIES= irc python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -12,12 +11,11 @@ WWW= https://sopel.chat/
|
||||||
LICENSE= EFLv2
|
LICENSE= EFLv2
|
||||||
LICENSE_GROUPS= FSF GPL OSI
|
LICENSE_GROUPS= FSF GPL OSI
|
||||||
LICENSE_NAME= Eiffel Forum License, version 2
|
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
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||||
|
|
||||||
DEPRECATED= Depends on expired databases/py-sqlalchemy13
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||||
EXPIRATION_DATE=2024-06-04
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${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}praw>0:www/py-praw@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${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}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist pep517
|
||||||
|
|
||||||
USE_RC_SUBR= sopel
|
USE_RC_SUBR= sopel
|
||||||
SUB_FILES+= pkg-message
|
SUB_FILES+= pkg-message
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1660249423
|
TIMESTAMP = 1718049976
|
||||||
SHA256 (sopel-7.1.9.tar.gz) = 209fa8bcb42febf514d687a9994423cda5811b745d777c6fba2ec58caf3952bb
|
SHA256 (sopel-8.0.0.tar.gz) = 8ee2c9a7412de6a319c01673c347b8b4a83570162a02c1fc294cea36820fef45
|
||||||
SIZE (sopel-7.1.9.tar.gz) = 263438
|
SIZE (sopel-8.0.0.tar.gz) = 249956
|
||||||
|
|
23
irc/py-sopel/files/COPYING
Normal file
23
irc/py-sopel/files/COPYING
Normal file
|
@ -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.
|
||||||
|
|
||||||
|
***********************
|
9
irc/py-sopel/files/patch-pyproject.toml
Normal file
9
irc/py-sopel/files/patch-pyproject.toml
Normal file
|
@ -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]
|
Loading…
Add table
Reference in a new issue