pkgsrc-WIP-changes archive

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

py-puremagic: remove, imported to sysutils/py-puremagic



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Thu Jun 1 18:04:17 2023 +0200
Changeset:	97105e8f7bb47079fb705ee4fe96ba5c94dd57bd

Modified Files:
	Makefile
	py-pspdfutils/Makefile
	sabnzbd/Makefile
Removed Files:
	py-puremagic/DESCR
	py-puremagic/Makefile
	py-puremagic/PLIST
	py-puremagic/distinfo

Log Message:
py-puremagic: remove, imported to sysutils/py-puremagic

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

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

diffstat:
 Makefile               |  1 -
 py-pspdfutils/Makefile |  2 +-
 py-puremagic/DESCR     | 13 -------------
 py-puremagic/Makefile  | 24 ------------------------
 py-puremagic/PLIST     | 15 ---------------
 py-puremagic/distinfo  |  5 -----
 sabnzbd/Makefile       |  2 +-
 7 files changed, 2 insertions(+), 60 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 57ab1671a9..b4ffe8395f 100644
--- a/Makefile
+++ b/Makefile
@@ -4369,7 +4369,6 @@ SUBDIR+=	py-ptyx
 SUBDIR+=	py-ptyx-mcq
 SUBDIR+=	py-pulp
 SUBDIR+=	py-pulsar
-SUBDIR+=	py-puremagic
 SUBDIR+=	py-pweave
 SUBDIR+=	py-pwntools
 SUBDIR+=	py-py4j
diff --git a/py-pspdfutils/Makefile b/py-pspdfutils/Makefile
index 2c2103ecdf..04beca95c2 100644
--- a/py-pspdfutils/Makefile
+++ b/py-pspdfutils/Makefile
@@ -12,7 +12,7 @@ LICENSE=	gnu-gpl-v3
 
 TOOL_DEPENDS+=	${PYPKGPREFIX}-argparse-manpage-[0-9]*:../../devel/py-argparse-manpage
 TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=	${PYPKGPREFIX}-puremagic-[0-9]*:../../wip/py-puremagic
+DEPENDS+=	${PYPKGPREFIX}-puremagic-[0-9]*:../../sysutils/py-puremagic
 DEPENDS+=	${PYPKGPREFIX}-pdf>=3.8.0:../../textproc/py-pdf
 TEST_DEPENDS+=	${PYPKGPREFIX}-test>=0:../../devel/py-test
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-datafiles>=0:../../devel/py-test-datafiles
diff --git a/py-puremagic/DESCR b/py-puremagic/DESCR
deleted file mode 100644
index 0483340cdd..0000000000
--- a/py-puremagic/DESCR
+++ /dev/null
@@ -1,13 +0,0 @@
-puremagic is a pure python module that will identify a file based off its
-magic numbers.
-
-It is designed to be minimalistic and inherently cross platform
-compatible. It is also designed to be a stand in for python-magic, it
-incorporates the functions from_file(filename[, mime]) and
-from_string(string[, mime]) however the magic_file() and magic_string()
-are more powerful and will also display confidence and duplicate
-matches.
-
-It does NOT try to match files off non-magic string. In other words it
-will not search for a string within a certain window of bytes like
-others might.
diff --git a/py-puremagic/Makefile b/py-puremagic/Makefile
deleted file mode 100644
index 8a18f584ca..0000000000
--- a/py-puremagic/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	puremagic-1.15
-PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	textproc python
-MASTER_SITES=	${MASTER_SITE_PYPI:=p/puremagic/}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/cdgriffith/puremagic
-COMMENT=	Pure python implementation of magic file detection
-LICENSE=	gnu-lgpl-v3
-
-TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-
-USE_LANGUAGES=	# none
-
-PYTHON_VERSIONS_INCOMPATIBLE=	27
-
-TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib
-do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-puremagic/PLIST b/py-puremagic/PLIST
deleted file mode 100644
index 8cbced3c8a..0000000000
--- a/py-puremagic/PLIST
+++ /dev/null
@@ -1,15 +0,0 @@
-@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}/puremagic/__init__.py
-${PYSITELIB}/puremagic/__init__.pyc
-${PYSITELIB}/puremagic/__init__.pyo
-${PYSITELIB}/puremagic/__main__.py
-${PYSITELIB}/puremagic/__main__.pyc
-${PYSITELIB}/puremagic/__main__.pyo
-${PYSITELIB}/puremagic/magic_data.json
-${PYSITELIB}/puremagic/main.py
-${PYSITELIB}/puremagic/main.pyc
-${PYSITELIB}/puremagic/main.pyo
diff --git a/py-puremagic/distinfo b/py-puremagic/distinfo
deleted file mode 100644
index bdfb2e20c6..0000000000
--- a/py-puremagic/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (puremagic-1.15.tar.gz) = 6446e18d0c6d3ad75dc878becc032598154d8afee2ff5126867471d8699a1df1
-SHA512 (puremagic-1.15.tar.gz) = 09aec637380bde0ad4eb82395aac3876870e80b0392ff82149942b97e00b9ee1570edc16d9473c5b0ca436b6a906eda559b2d74be6122a3fbc3f52c2e44d7f94
-Size (puremagic-1.15.tar.gz) = 297469 bytes
diff --git a/sabnzbd/Makefile b/sabnzbd/Makefile
index c903c18057..b67e2a4f19 100644
--- a/sabnzbd/Makefile
+++ b/sabnzbd/Makefile
@@ -22,7 +22,7 @@ DEPENDS+=	${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
 DEPENDS+=	${PYPKGPREFIX}-portend-[0-9]*:../../net/py-portend
 DEPENDS+=	${PYPKGPREFIX}-cherrypy>=18.2:../../www/py-cherrypy
 DEPENDS+=	${PYPKGPREFIX}-guessit>=3.1.1:../../textproc/py-guessit
-DEPENDS+=	${PYPKGPREFIX}-puremagic>=1.11:../../wip/py-puremagic
+DEPENDS+=	${PYPKGPREFIX}-puremagic>=1.11:../../sysutils/py-puremagic
 DEPENDS+=	par2-[0-9]*:../../archivers/par2
 DEPENDS+=	unrar-[0-9]*:../../archivers/unrar
 DEPENDS+=	unzip-[0-9]*:../../archivers/unzip


Home | Main Index | Thread Index | Old Index