git: 75e469a79003 - main - devel/shedskin: update 0.9.8 → 0.9.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jun 2024 09:33:55 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=75e469a79003240d8e76eb9973fef69381754164 commit 75e469a79003240d8e76eb9973fef69381754164 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-06-23 07:20:39 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-06-23 09:33:46 +0000 devel/shedskin: update 0.9.8 → 0.9.9 Reported by: portscout --- devel/shedskin/Makefile | 26 ++++++++++++++-------- devel/shedskin/distinfo | 6 ++--- .../files/patch-shedskin_lib_os_____init____.cpp | 19 ---------------- 3 files changed, 20 insertions(+), 31 deletions(-) diff --git a/devel/shedskin/Makefile b/devel/shedskin/Makefile index fe59996f5694..93af007aa02b 100644 --- a/devel/shedskin/Makefile +++ b/devel/shedskin/Makefile @@ -1,7 +1,8 @@ PORTNAME= shed-skin -DISTVERSION= 0.9.8 +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.9 CATEGORIES= devel python -MASTER_SITES= PYPI +#MASTER_SITES= PYPI # no test files DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org @@ -16,7 +17,11 @@ RUN_DEPENDS= boehm-gc>0:devel/boehm-gc \ pcre>0:devel/pcre USES= python -USE_PYTHON= pep517 autoplist +USE_PYTHON= pep517 autoplist pytest # 44 tests fail, see https://github.com/shedskin/shedskin/issues/494 + +USE_GITHUB= yes +GH_ACCOUNT= shedskin +GH_PROJECT= shedskin NO_ARCH= yes @@ -24,12 +29,15 @@ post-extract: @${RM} ${WRKSRC}/tests/test_ops_assignment/test_ops_assignment.py.orig post-patch: - # the fouth regex below is a workaround for https://github.com/shedskin/shedskin/issues/470 + # adjust FLAGS placed into generated makefiles @${REINPLACE_CMD} -e ' \ - s|^CC=.*|CC=${CXX}|; \ - s|^CCFLAGS=|CCFLAGS?=-I${PREFIX}/include |; \ - s|^LFLAGS=|LFLAGS=-L${PREFIX}/lib |; \ - s|^CCFLAGS.*|& -I$$(SHEDSKIN_LIBDIR)|; \ + s|^CXX?=.*|CXX?=${CXX}|; \ + s|^CXXFLAGS?=.*|& -I${PREFIX}/include |; \ + s|^LFLAGS=.*|& -L${PREFIX}/lib |; \ ' ${WRKSRC}/shedskin/resources/flags/FLAGS + # adjust pyproject.toml for the difference between GH and PYPI tarballs + @${REINPLACE_CMD} \ + -e 's/name = "shedskin"/name = "shed-skin"/' \ + ${WRKSRC}/pyproject.toml -.include <bsd.port.mk> +.include <bsd.port.mk> diff --git a/devel/shedskin/distinfo b/devel/shedskin/distinfo index b375f34fc64d..9b9b76e4386f 100644 --- a/devel/shedskin/distinfo +++ b/devel/shedskin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1716797518 -SHA256 (shed_skin-0.9.8.tar.gz) = 2367ab06a29122d79cd2091b306711743a0b08836ee6291775ad049914670779 -SIZE (shed_skin-0.9.8.tar.gz) = 18176411 +TIMESTAMP = 1719125931 +SHA256 (shedskin-shedskin-v0.9.9_GH0.tar.gz) = 7f550f703dde58a6ef21e114b75044db89f4296aa1b39e8dcfa854f9f057979e +SIZE (shedskin-shedskin-v0.9.9_GH0.tar.gz) = 2955026 diff --git a/devel/shedskin/files/patch-shedskin_lib_os_____init____.cpp b/devel/shedskin/files/patch-shedskin_lib_os_____init____.cpp deleted file mode 100644 index 79bade3dc93c..000000000000 --- a/devel/shedskin/files/patch-shedskin_lib_os_____init____.cpp +++ /dev/null @@ -1,19 +0,0 @@ ---- shedskin/lib/os/__init__.cpp.orig 2023-12-24 21:56:45 UTC -+++ shedskin/lib/os/__init__.cpp -@@ -27,7 +27,7 @@ - #include <sys/utsname.h> - #include <sys/statvfs.h> - --#ifndef __APPLE__ -+#if !defined(__APPLE__) && !defined(__FreeBSD__) - #include <sys/sysmacros.h> - #endif - -@@ -42,6 +42,7 @@ - #ifdef __FreeBSD__ - #include <roken.h> - #include <libutil.h> -+extern char **environ; - #endif - - #ifdef __APPLE__