pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sabnzbd: update to 4.0.3



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Sat Aug 26 18:02:17 2023 +0200
Changeset:	ee5b719e250a5ce2f9a50d67630547b16cf5a0f0

Modified Files:
	sabnzbd/Makefile
	sabnzbd/distinfo
Added Files:
	py-sabctools/DESCR
	py-sabctools/Makefile
	py-sabctools/PLIST
	py-sabctools/distinfo
	py-sabctools/patches/patch-setup.py
Removed Files:
	py-sabyenc/DESCR
	py-sabyenc/Makefile
	py-sabyenc/PLIST
	py-sabyenc/distinfo

Log Message:
sabnzbd: update to 4.0.3

Includes new package py-sabctools 7.0.2.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ee5b719e250a5ce2f9a50d67630547b16cf5a0f0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-sabctools/DESCR                  | 11 +++++++++++
 py-sabctools/Makefile               | 22 ++++++++++++++++++++++
 py-sabctools/PLIST                  | 11 +++++++++++
 py-sabctools/distinfo               |  6 ++++++
 py-sabctools/patches/patch-setup.py | 14 ++++++++++++++
 py-sabyenc/DESCR                    |  8 --------
 py-sabyenc/Makefile                 | 26 --------------------------
 py-sabyenc/PLIST                    |  6 ------
 py-sabyenc/distinfo                 |  5 -----
 sabnzbd/Makefile                    |  4 ++--
 sabnzbd/distinfo                    |  6 +++---
 11 files changed, 69 insertions(+), 50 deletions(-)

diffs:
diff --git a/py-sabctools/DESCR b/py-sabctools/DESCR
new file mode 100644
index 0000000000..4d6508340e
--- /dev/null
+++ b/py-sabctools/DESCR
@@ -0,0 +1,11 @@
+C implementations of functions for use within SABnzbd.
+
+This module implements three main sets of C implementations that are used
+within SABnzbd:
+
+    yEnc decoding and encoding using SIMD routines
+    CRC32 calculations
+    Non-blocking SSL-socket reading
+    Marking files as sparse
+
+Of course, they can also be used in any other application.
diff --git a/py-sabctools/Makefile b/py-sabctools/Makefile
new file mode 100644
index 0000000000..70fa7903c0
--- /dev/null
+++ b/py-sabctools/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=		sabctools-${DISTVERSION}
+PKGNAME=		${PYPKGPREFIX}-${DISTNAME}
+DISTVERSION=		7.0.2
+CATEGORIES=		news
+MASTER_SITES=		${MASTER_SITE_GITHUB:=sabnzbd/}
+GITHUB_PROJECT=		sabctools
+GITHUB_TAG=		v${DISTVERSION}
+
+MAINTAINER=	rhialto%NetBSD.org@localhost
+HOMEPAGE=	https://sabnzbd.org/
+COMMENT=	C implementations of functions for use within SABnzbd
+LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND modified-bsd AND mit
+
+USE_LANGUAGES+=	c c++
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/egg.mk"
+#.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-sabctools/PLIST b/py-sabctools/PLIST
new file mode 100644
index 0000000000..c8a19b34f2
--- /dev/null
+++ b/py-sabctools/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sabctools/__init__.py
+${PYSITELIB}/sabctools/__init__.pyc
+${PYSITELIB}/sabctools/__init__.pyo
+${PYSITELIB}/sabctools/py.typed
+${PYSITELIB}/sabctools/sabctools.pyi
+${PYSITELIB}/sabctools/sabctools.so
diff --git a/py-sabctools/distinfo b/py-sabctools/distinfo
new file mode 100644
index 0000000000..f9b49e6115
--- /dev/null
+++ b/py-sabctools/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (sabctools-7.0.2.tar.gz) = 4fd36ac9f6bca10c11cf143601c574ac7d16006838abedd047024b4070c33d6b
+SHA512 (sabctools-7.0.2.tar.gz) = 05968a29afb7a041549bae9e9a4303160820da4cd10ea33ab4475fe48fd0b4cf46023c6254715161265f3e1bdf2b66ae7e62007789fbc288aa229d3a218a3df8
+Size (sabctools-7.0.2.tar.gz) = 8539819 bytes
+SHA1 (patch-setup.py) = e04119159c5765d6ecebd272ffd335aeab988e08
diff --git a/py-sabctools/patches/patch-setup.py b/py-sabctools/patches/patch-setup.py
new file mode 100644
index 0000000000..8157d7bce9
--- /dev/null
+++ b/py-sabctools/patches/patch-setup.py
@@ -0,0 +1,14 @@
+$NetBSD$
+
+On NetBSD there is no need to link with -ldl for dlopen(3).
+
+--- setup.py.orig	2023-05-01 19:17:49.000000000 +0000
++++ setup.py
+@@ -95,6 +95,7 @@ class SABCToolsBuild(build_ext):
+         else:
+             # TODO: consider -flto - may require some extra testing
+             ldflags = ["-ldl"]  # for dlopen
++            ldflags = []  # for dlopen, not needed on NetBSD
+             cflags = [
+                 "-Wall",
+                 "-Wextra",
diff --git a/py-sabyenc/DESCR b/py-sabyenc/DESCR
deleted file mode 100644
index 0bb3513973..0000000000
--- a/py-sabyenc/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-SABYenc - yEnc Decoding for Python
-
-The module was extended to do header parsing and full yEnc decoding from a
-Python list of chunks, the way in which data is retrieved from usenet. This is
-particularly beneficial when SSL is enabled, which limits the size of each
-chunk to 16K. Parsing these chunks in python is much more costly. Additionally,
-this module releases Python's GIL during decoding, greatly increasing
-performance of the overall download process.
diff --git a/py-sabyenc/Makefile b/py-sabyenc/Makefile
deleted file mode 100644
index fae0685c84..0000000000
--- a/py-sabyenc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2015/02/04 10:10:53 thomasklausner Exp $
-
-DISTNAME=	sabyenc-${DISTVERSION}
-PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
-DISTVERSION=	3.3.6
-CATEGORIES=	news
-GIT_REPO=	https://github.com/sabnzbd/sabyenc.git
-GIT_REVISION=	f0b4934a740549afcea8bc677d4bd9e42c179838  # 22 June 2019
-CHECKOUT_DATE=	2019-06-22
-#GITHUB_PROJECT= sabnzbd
-GIT_BRANCH=	sabyenc-python2
-
-MAINTAINER=	rhialto%NetBSD.org@localhost
-HOMEPAGE=	https://sabnzbd.org
-COMMENT=	Web-interface based binary newsgrabber in python, with nzb support
-LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND modified-bsd AND mit
-
-PYDISTUTILSPKG=YES
-USE_LANGUAGES+=	c
-
-# This branch is python 2.7 only, because sabnzbd is limited to that, due to another dependency.
-PYTHON_VERSIONS_ACCEPTED=	27
-
-.include "../../lang/python/extension.mk"
-.include "../../wip/mk/git-package.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-sabyenc/PLIST b/py-sabyenc/PLIST
deleted file mode 100644
index 2bb7a22de4..0000000000
--- a/py-sabyenc/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD$
-${PYSITELIB}/sabyenc-3.3.5-py2.7.egg-info/PKG-INFO
-${PYSITELIB}/sabyenc-3.3.5-py2.7.egg-info/SOURCES.txt
-${PYSITELIB}/sabyenc-3.3.5-py2.7.egg-info/dependency_links.txt
-${PYSITELIB}/sabyenc-3.3.5-py2.7.egg-info/top_level.txt
-${PYSITELIB}/sabyenc.so
diff --git a/py-sabyenc/distinfo b/py-sabyenc/distinfo
deleted file mode 100644
index edf28cd930..0000000000
--- a/py-sabyenc/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-RMD160 (sabyenc-4.0.2.tar.gz) = 4d6880797f438c0bc355175ef76e2c2dd0ace8b4
-SHA512 (sabyenc-4.0.2.tar.gz) = 88e8b47b1438ca55b51dbf8a407c33ec335f0604abf8a3dcbc45853b6dadadf9932d97cf3f0adabd71a9405e2deaeff2777483d9ea692c9d3cbab99dfbfbc901
-Size (sabyenc-4.0.2.tar.gz) = 19579235 bytes
diff --git a/sabnzbd/Makefile b/sabnzbd/Makefile
index b67e2a4f19..5cf7cc9d17 100644
--- a/sabnzbd/Makefile
+++ b/sabnzbd/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	sabnzbd-${DISTVERSION}
-DISTVERSION=	3.7.2
+DISTVERSION=	4.0.3
 CATEGORIES=	news
 MASTER_SITES=	${MASTER_SITE_GITHUB:=sabnzbd/}
 GITHUB_PROJECT=	sabnzbd
@@ -15,7 +15,7 @@ LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND modified-bsd AND mit
 
 DEPENDS+=	${PYPKGPREFIX}-cheetah-[0-9]*:../../devel/py-cheetah3
 DEPENDS+=	${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
-DEPENDS+=	${PYPKGPREFIX}-sabyenc3>=5.4.2:../../wip/py-sabyenc3
+DEPENDS+=	${PYPKGPREFIX}-sabctools>=7.0.2:../../wip/py-sabctools
 DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 DEPENDS+=	${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
 DEPENDS+=	${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
diff --git a/sabnzbd/distinfo b/sabnzbd/distinfo
index 6544d6c1cb..2140beb1ea 100644
--- a/sabnzbd/distinfo
+++ b/sabnzbd/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.1 2013/10/01 20:25:20 wongk Exp $
 
-BLAKE2s (sabnzbd-3.7.2.tar.gz) = 9cbe73ff3470c94aada9ae3a21e0ff5e48cfdd0b98116debbf8a53602f1eb473
-SHA512 (sabnzbd-3.7.2.tar.gz) = 623578b03c427a7d540daff68b77dcad012179060206e021fc4528fe74a15b4a1084b85a981aadad8500cb52ec86c5215091ea93e2cc44eed2f1b9788ee3413c
-Size (sabnzbd-3.7.2.tar.gz) = 9418031 bytes
+BLAKE2s (sabnzbd-4.0.3.tar.gz) = f570814b8d6c4c520bfbd3034feda8c43f48b70b602410ea80e806e7c9a2d26d
+SHA512 (sabnzbd-4.0.3.tar.gz) = 98081cae17c69efdb8639e8594339663994c7550bea12915411a026c45b5996b53f3fcd358f27080fc074a1268e579f4adeb88b964a44d6b0c82e1d16f500e1b
+Size (sabnzbd-4.0.3.tar.gz) = 9415766 bytes
 SHA1 (patch-SABnzbd.py) = 33019b1b87cc81cea38f3b0c68a27ca37807aaa4
 SHA1 (patch-sabnzbd_cfg.py) = 49a262d8d9c27c741077ea8c2676c425dd63ee6a


Home | Main Index | Thread Index | Old Index