summaryrefslogtreecommitdiff
path: root/sysutils/py-filetype
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-12-31 12:16:51 +0000
committeradam <adam@pkgsrc.org>2021-12-31 12:16:51 +0000
commit5f57740ee61e0e2370aab108babb37d96a2efb01 (patch)
treeeb10de331caf41c9089d911e6965892702199b59 /sysutils/py-filetype
parentbc706252ae6fb95165965736a742c290297cf55d (diff)
downloadpkgsrc-5f57740ee61e0e2370aab108babb37d96a2efb01.tar.gz
py-filetype: updated to 1.0.9
v1.0.9 Update init.py Merge pull request 111 from asfaltboy/patch-1 Add python 3.9 to version classifiers Merge pull request 108 from hannesbraun/aiff-support Add AIFF support fix(Readme): rst syntax
Diffstat (limited to 'sysutils/py-filetype')
-rw-r--r--sysutils/py-filetype/Makefile10
-rw-r--r--sysutils/py-filetype/distinfo8
2 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/py-filetype/Makefile b/sysutils/py-filetype/Makefile
index 4e861c0f7fd..06aebeade4e 100644
--- a/sysutils/py-filetype/Makefile
+++ b/sysutils/py-filetype/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/10/01 12:48:28 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/31 12:16:51 adam Exp $
-DISTNAME= filetype-1.0.8
+DISTNAME= filetype-1.0.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/filetype/}
@@ -10,12 +10,13 @@ HOMEPAGE= https://github.com/h2non/filetype.py
COMMENT= Infer binary file types checking the magic numbers signature
LICENSE= mit
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
-PYTHON_VERSIONED_DEPENDENCIES+= test:test
-
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE}
@@ -23,6 +24,5 @@ post-install:
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-filetype/distinfo b/sysutils/py-filetype/distinfo
index bbdf81e8b64..e3d8c4887a3 100644
--- a/sysutils/py-filetype/distinfo
+++ b/sysutils/py-filetype/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:20:03 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/12/31 12:16:51 adam Exp $
-BLAKE2s (filetype-1.0.8.tar.gz) = 5c346300b1d5e9e0f6104f90e2375aeeb04b5c15861fddceb65fbaff2f2d1f01
-SHA512 (filetype-1.0.8.tar.gz) = 5ab87ec277781d27bdd7a4245f406d230724b0f0a7ab26e879cb78893262fbdff7088bb306203fb1fce38723b5d1c2a998fb8ae113509502755e995a1f81993b
-Size (filetype-1.0.8.tar.gz) = 804082 bytes
+BLAKE2s (filetype-1.0.9.tar.gz) = 2855a3976d704a9d2f60ba970b61be89658b9b9bda0aa6da2bb442081072ed7a
+SHA512 (filetype-1.0.9.tar.gz) = 4d59c32c83a448136ac0d5aef55a24d13cee1c234f3a6d713ad7c63696c9e5b6bd502b4f365244be84f8579705fa48a31dc231ae8e52b2656aa72255dc61cef8
+Size (filetype-1.0.9.tar.gz) = 804325 bytes