diff --git a/devel/py-xstatic-autosize/Makefile b/devel/py-xstatic-autosize/Makefile index f2fba5a8236d..3d94f586f41e 100644 --- a/devel/py-xstatic-autosize/Makefile +++ b/devel/py-xstatic-autosize/Makefile @@ -1,24 +1,22 @@ PORTNAME= xstatic-autosize -DISTVERSION= 1.17.2.1 -PORTREVISION= 1 +PORTVERSION= 6.0.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= XStatic-autosize-${DISTVERSION} +DISTNAME= xstatic_autosize-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= autosize 1.17.2 (XStatic packaging standard) -WWW= https://www.jacklmoore.com/autosize/ +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= autosize ${PORTVERSION:R} (XStatic packaging standard) +WWW= https://github.com/xstatic-py/xstatic-autosize LICENSE= MIT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-autosize'|g" \ - ${WRKSRC}/setup.py - .include diff --git a/devel/py-xstatic-autosize/distinfo b/devel/py-xstatic-autosize/distinfo index 61707f3ef0f2..bb725246660d 100644 --- a/devel/py-xstatic-autosize/distinfo +++ b/devel/py-xstatic-autosize/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1727151989 -SHA256 (XStatic-autosize-1.17.2.1.tar.gz) = 9b341cefde6aba0d270c4dafa371fd5dac1b3455e8c657250b539ff16a840317 -SIZE (XStatic-autosize-1.17.2.1.tar.gz) = 6286 +TIMESTAMP = 1773966876 +SHA256 (xstatic_autosize-6.0.1.0.tar.gz) = 79e179b2ed4688c94b6b66b4a0180c0ccdcfe7008b54a3bf593ddeef63703020 +SIZE (xstatic_autosize-6.0.1.0.tar.gz) = 5787 diff --git a/devel/py-xstatic-autosize/files/patch-setup.py b/devel/py-xstatic-autosize/files/patch-setup.py new file mode 100644 index 000000000000..b6276d350a7b --- /dev/null +++ b/devel/py-xstatic-autosize/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2026-01-24 02:27:45 UTC ++++ setup.py +@@ -7,7 +7,7 @@ setup( + from setuptools import setup, find_packages + + setup( +- name=xs.PACKAGE_NAME, ++ name='xstatic-autosize', + version=xs.PACKAGE_VERSION, + description=xs.DESCRIPTION, + long_description=long_description, diff --git a/devel/py-xstatic-autosize/pkg-descr b/devel/py-xstatic-autosize/pkg-descr index 2e4c84db704d..e6ea2b6d900f 100644 --- a/devel/py-xstatic-autosize/pkg-descr +++ b/devel/py-xstatic-autosize/pkg-descr @@ -1,9 +1,8 @@ -autosize (jQuery plugin for dynamic textarea sizing) packaged for -setuptools (easy_install) / pip. +autosize (jQuery plugin for dynamic textarea sizing) packaged for setuptools +(easy_install) / pip. -This package is intended to be used by **any** project that needs these -files. +This package is intended to be used by **any** project that needs these files. -It intentionally does **not** provide any extra code except some -metadata **nor** has any extra requirements. You MAY use some minimal -support code from the XStatic base package, if you like. +It intentionally does **not** provide any extra code except some metadata +**nor** has any extra requirements. You MAY use some minimal support code from +the XStatic base package, if you like.