pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-filetype py-filetype: updated to 1.0.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ba12e95b6e5
branches:  trunk
changeset: 459198:6ba12e95b6e5
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 01 12:48:28 2021 +0000

description:
py-filetype: updated to 1.0.8

1.0.8:
Unknown changes

diffstat:

 sysutils/py-filetype/Makefile |  16 +++++----
 sysutils/py-filetype/PLIST    |  70 ++++++++++++++++++++----------------------
 sysutils/py-filetype/distinfo |  10 +++---
 3 files changed, 47 insertions(+), 49 deletions(-)

diffs (145 lines):

diff -r 7fd0ae7f278e -r 6ba12e95b6e5 sysutils/py-filetype/Makefile
--- a/sysutils/py-filetype/Makefile     Fri Oct 01 12:47:27 2021 +0000
+++ b/sysutils/py-filetype/Makefile     Fri Oct 01 12:48:28 2021 +0000
@@ -1,14 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2020/05/19 16:58:23 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2021/10/01 12:48:28 adam Exp $
 
-DISTNAME=      filetype-1.0.7
+DISTNAME=      filetype-1.0.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=h2non/}
-GITHUB_PROJECT=        filetype.py
-GITHUB_TAG=    v${PKGVERSION_NOREV}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=f/filetype/}
 
 MAINTAINER=    khorben%defora.org@localhost
-HOMEPAGE=      https://github.com/h2non/filetype.py/
+HOMEPAGE=      https://github.com/h2non/filetype.py
 COMMENT=       Infer binary file types checking the magic numbers signature
 LICENSE=       mit
 
@@ -18,8 +16,12 @@
 
 USE_LANGUAGES= # none
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} filetype filetype-${PYVERSSUFFIX} || ${TRUE}
+
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
diff -r 7fd0ae7f278e -r 6ba12e95b6e5 sysutils/py-filetype/PLIST
--- a/sysutils/py-filetype/PLIST        Fri Oct 01 12:47:27 2021 +0000
+++ b/sysutils/py-filetype/PLIST        Fri Oct 01 12:48:28 2021 +0000
@@ -1,57 +1,53 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/19 16:58:23 wiz Exp $
-${PYSITELIB}/examples/__init__.py
-${PYSITELIB}/examples/__init__.pyo
-${PYSITELIB}/examples/__init__.pyc
-${PYSITELIB}/examples/buffer.pyo
-${PYSITELIB}/examples/buffer.pyc
-${PYSITELIB}/examples/bytes.pyo
-${PYSITELIB}/examples/bytes.pyc
-${PYSITELIB}/examples/file.pyo
-${PYSITELIB}/examples/file.pyc
-${PYSITELIB}/examples/buffer.py
-${PYSITELIB}/examples/bytes.py
-${PYSITELIB}/examples/file.py
+@comment $NetBSD: PLIST,v 1.2 2021/10/01 12:48:28 adam Exp $
+bin/filetype-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/filetype/__init__.py
+${PYSITELIB}/filetype/__init__.pyc
 ${PYSITELIB}/filetype/__init__.pyo
-${PYSITELIB}/filetype/__init__.pyc
-${PYSITELIB}/filetype/filetype.pyo
+${PYSITELIB}/filetype/__main__.py
+${PYSITELIB}/filetype/__main__.pyc
+${PYSITELIB}/filetype/__main__.pyo
+${PYSITELIB}/filetype/filetype.py
 ${PYSITELIB}/filetype/filetype.pyc
-${PYSITELIB}/filetype/helpers.pyo
+${PYSITELIB}/filetype/filetype.pyo
+${PYSITELIB}/filetype/helpers.py
 ${PYSITELIB}/filetype/helpers.pyc
-${PYSITELIB}/filetype/match.pyo
+${PYSITELIB}/filetype/helpers.pyo
+${PYSITELIB}/filetype/match.py
 ${PYSITELIB}/filetype/match.pyc
-${PYSITELIB}/filetype/utils.pyo
-${PYSITELIB}/filetype/utils.pyc
-${PYSITELIB}/filetype/filetype.py
-${PYSITELIB}/filetype/helpers.py
-${PYSITELIB}/filetype/match.py
+${PYSITELIB}/filetype/match.pyo
 ${PYSITELIB}/filetype/types/__init__.py
+${PYSITELIB}/filetype/types/__init__.pyc
 ${PYSITELIB}/filetype/types/__init__.pyo
-${PYSITELIB}/filetype/types/__init__.pyc
+${PYSITELIB}/filetype/types/application.py
+${PYSITELIB}/filetype/types/application.pyc
+${PYSITELIB}/filetype/types/application.pyo
+${PYSITELIB}/filetype/types/archive.py
+${PYSITELIB}/filetype/types/archive.pyc
 ${PYSITELIB}/filetype/types/archive.pyo
-${PYSITELIB}/filetype/types/archive.pyc
+${PYSITELIB}/filetype/types/audio.py
+${PYSITELIB}/filetype/types/audio.pyc
 ${PYSITELIB}/filetype/types/audio.pyo
-${PYSITELIB}/filetype/types/audio.pyc
+${PYSITELIB}/filetype/types/base.py
+${PYSITELIB}/filetype/types/base.pyc
 ${PYSITELIB}/filetype/types/base.pyo
-${PYSITELIB}/filetype/types/base.pyc
-${PYSITELIB}/filetype/types/font.pyo
+${PYSITELIB}/filetype/types/font.py
 ${PYSITELIB}/filetype/types/font.pyc
-${PYSITELIB}/filetype/types/image.pyo
+${PYSITELIB}/filetype/types/font.pyo
+${PYSITELIB}/filetype/types/image.py
 ${PYSITELIB}/filetype/types/image.pyc
+${PYSITELIB}/filetype/types/image.pyo
+${PYSITELIB}/filetype/types/isobmff.py
+${PYSITELIB}/filetype/types/isobmff.pyc
 ${PYSITELIB}/filetype/types/isobmff.pyo
-${PYSITELIB}/filetype/types/isobmff.pyc
+${PYSITELIB}/filetype/types/video.py
+${PYSITELIB}/filetype/types/video.pyc
 ${PYSITELIB}/filetype/types/video.pyo
-${PYSITELIB}/filetype/types/video.pyc
-${PYSITELIB}/filetype/types/archive.py
-${PYSITELIB}/filetype/types/audio.py
-${PYSITELIB}/filetype/types/base.py
-${PYSITELIB}/filetype/types/font.py
-${PYSITELIB}/filetype/types/image.py
-${PYSITELIB}/filetype/types/isobmff.py
-${PYSITELIB}/filetype/types/video.py
 ${PYSITELIB}/filetype/utils.py
+${PYSITELIB}/filetype/utils.pyc
+${PYSITELIB}/filetype/utils.pyo
diff -r 7fd0ae7f278e -r 6ba12e95b6e5 sysutils/py-filetype/distinfo
--- a/sysutils/py-filetype/distinfo     Fri Oct 01 12:47:27 2021 +0000
+++ b/sysutils/py-filetype/distinfo     Fri Oct 01 12:48:28 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/05/19 16:58:23 wiz Exp $
+$NetBSD: distinfo,v 1.2 2021/10/01 12:48:28 adam Exp $
 
-SHA1 (filetype-1.0.7.tar.gz) = 879921eab760f802e95fbb6dbcdc38e0c1da692c
-RMD160 (filetype-1.0.7.tar.gz) = 23fa944a61ad168d58171b942b295501b08115b2
-SHA512 (filetype-1.0.7.tar.gz) = f6d861a9108ffb796858bfdfb26d1bdf6aa9704794fa86340cc36a2920b4f11e12faf4271d19bca9a89be76d8fcff43e8859c8def2525ddbadd52a18c7f68cac
-Size (filetype-1.0.7.tar.gz) = 667644 bytes
+SHA1 (filetype-1.0.8.tar.gz) = e31f47aa48978852a9dd78b2de437fbd4d67b2a2
+RMD160 (filetype-1.0.8.tar.gz) = 9d382d5862f537751d1aa6f8f4525d1e1bc7889c
+SHA512 (filetype-1.0.8.tar.gz) = 5ab87ec277781d27bdd7a4245f406d230724b0f0a7ab26e879cb78893262fbdff7088bb306203fb1fce38723b5d1c2a998fb8ae113509502755e995a1f81993b
+Size (filetype-1.0.8.tar.gz) = 804082 bytes



Home | Main Index | Thread Index | Old Index