pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-filetype: update to 1.0.7 and add test dependencies
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Tue May 19 18:54:39 2020 +0200
Changeset: 482d36194880585596b5a38eecf8924d5ba52c3b
Modified Files:
py-filetype/Makefile
py-filetype/distinfo
Log Message:
py-filetype: update to 1.0.7 and add test dependencies
Changes: not documented.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=482d36194880585596b5a38eecf8924d5ba52c3b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-filetype/Makefile | 13 ++++++++++---
py-filetype/distinfo | 8 ++++----
2 files changed, 14 insertions(+), 7 deletions(-)
diffs:
diff --git a/py-filetype/Makefile b/py-filetype/Makefile
index 785703d21c..98eec9a261 100644
--- a/py-filetype/Makefile
+++ b/py-filetype/Makefile
@@ -1,19 +1,26 @@
# $NetBSD$
-GITHUB_PROJECT= filetype.py
-DISTNAME= filetype-1.0.5
+DISTNAME= filetype-1.0.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_GITHUB:=h2non/}
+GITHUB_PROJECT= filetype.py
GITHUB_TAG= v${PKGVERSION_NOREV}
-#DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= khorben%defora.org@localhost
HOMEPAGE= https://github.com/h2non/filetype.py/
COMMENT= Infer binary file types checking the magic numbers signature
LICENSE= mit
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
+
+PYTHON_VERSIONED_DEPENDENCIES+= test:test
+
USE_LANGUAGES= # none
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-filetype/distinfo b/py-filetype/distinfo
index 7add746a2a..74eec03c61 100644
--- a/py-filetype/distinfo
+++ b/py-filetype/distinfo
@@ -1,6 +1,6 @@
$NetBSD$
-SHA1 (filetype-1.0.5.tar.gz) = e7008c5cc8fb850a4f7df2c7581733a653d059ad
-RMD160 (filetype-1.0.5.tar.gz) = f2635e3b570017ef79e7dca61d637ef0642ca13c
-SHA512 (filetype-1.0.5.tar.gz) = ce9c88a4eb81a5b10a2931f9b6e9a82e0a57d5009305585acee71608447a4f3ad9fc19e39ef02be79de54d83a2ae3f50782758a9e94798f0f5d824ad0bd618f7
-Size (filetype-1.0.5.tar.gz) = 667559 bytes
+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
Home |
Main Index |
Thread Index |
Old Index