Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 08:10:37 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aa065f884744 - main - textproc/py-pyscss: Update to 1.4.0
Message-ID:  <202403230810.42N8AbwC094757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa065f8847445c1ae0b9f277a397a4b23f274c0c

commit aa065f8847445c1ae0b9f277a397a4b23f274c0c
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-03-23 08:02:12 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-03-23 08:02:12 +0000

    textproc/py-pyscss: Update to 1.4.0
    
    * Make port concurrent safe as some scripts are installed outside
      of Python's site-lib directory.
    
    * Update test suite and switch to newer devel/py-pytest.
    
    * Strip binaries and pet portclippy to level up port compliance.
    
    Changelog:
    
    https://github.com/Kronuz/pyScss/compare/1.3.7...v1.4.0
    
    PR:             277894
    Approved by:    rum1cro@yandex.ru (maintainer)
---
 textproc/py-pyscss/Makefile | 13 +++++++++----
 textproc/py-pyscss/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/textproc/py-pyscss/Makefile b/textproc/py-pyscss/Makefile
index 1eaf1dc214ba..49e680d0cca3 100644
--- a/textproc/py-pyscss/Makefile
+++ b/textproc/py-pyscss/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyscss
-PORTVERSION=	1.3.7
+PORTVERSION=	1.4.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,14 +11,18 @@ WWW=		https://github.com/Kronuz/pyScss
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
 LIB_DEPENDS=	libpcre.so:devel/pcre
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
 
+USES=		python localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	Kronuz
 GH_PROJECT=	pyScss
+USE_PYTHON=	autoplist concurrent distutils pytest
 
-USES=		python localbase:ldflags
-USE_PYTHON=	distutils autoplist pytest4
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>
diff --git a/textproc/py-pyscss/distinfo b/textproc/py-pyscss/distinfo
index 7e913d1f4a17..63acc95652bb 100644
--- a/textproc/py-pyscss/distinfo
+++ b/textproc/py-pyscss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622488598
-SHA256 (Kronuz-pyScss-1.3.7_GH0.tar.gz) = 464a9cc6cc4dba65bfabe8668fb11a16c3255248a4c6b4ba78dc47add0504590
-SIZE (Kronuz-pyScss-1.3.7_GH0.tar.gz) = 316872
+TIMESTAMP = 1710789210
+SHA256 (Kronuz-pyScss-v1.4.0_GH0.tar.gz) = a4c5885b8ec233293aa774e0ebbdf7db12b612acc0745e353395e3b4b9008089
+SIZE (Kronuz-pyScss-v1.4.0_GH0.tar.gz) = 317094



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403230810.42N8AbwC094757>