pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/csvkit csvkit: fix dependencies, update code ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e9b8ef3d77a
branches: trunk
changeset: 770060:5e9b8ef3d77a
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Nov 24 10:22:32 2021 +0000
description:
csvkit: fix dependencies, update code for changes in a dependency.
Bump PKGREVISION.
diffstat:
textproc/csvkit/Makefile | 28 ++++++-------------
textproc/csvkit/distinfo | 11 ++++---
textproc/csvkit/patches/patch-csvkit_convert_xlsx.py | 16 +++++++++++
textproc/csvkit/patches/patch-setup.py | 3 +-
4 files changed, 33 insertions(+), 25 deletions(-)
diffs (98 lines):
diff -r 2ab63369be9b -r 5e9b8ef3d77a textproc/csvkit/Makefile
--- a/textproc/csvkit/Makefile Wed Nov 24 09:51:55 2021 +0000
+++ b/textproc/csvkit/Makefile Wed Nov 24 10:22:32 2021 +0000
@@ -1,36 +1,26 @@
-# $NetBSD: Makefile,v 1.10 2020/12/04 20:45:44 nia Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/24 10:22:32 wiz Exp $
-DISTNAME= 0.9.0
-PKGREVISION= 3
-PKGNAME= csvkit-${DISTNAME}
+DISTNAME= csvkit-0.9.0
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=wireservice/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= cheusov%NetBSD.org@localhost
HOMEPAGE= https://github.com/wireservice/csvkit
COMMENT= Suite of utilities for converting to and working with CSV
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-nose>=1.1.2:../../devel/py-nose
-DEPENDS+= ${PYPKGPREFIX}-xlrd>=0.9.2:../../textproc/py-xlrd
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.0.7:../../textproc/py-sphinx
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.2:../../time/py-dateutil
-DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.9.3:../../databases/py-sqlalchemy
-DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.0.7:../../textproc/py-sphinx
-DEPENDS+= ${PYPKGPREFIX}-coverage>=1.0.7:../../devel/py-coverage
+DEPENDS+= ${PYPKGPREFIX}-dbf-[0-9]*:../../databases/py-dbf
DEPENDS+= ${PYPKGPREFIX}-openpyxl>=2.0.3:../../textproc/py-openpyxl
-DEPENDS+= ${PYPKGPREFIX}-jdcal>=0.9.3:../../time/py-jdcal
-DEPENDS+= ${PYPKGPREFIX}-simplejson>=3.6.3:../../converters/py-simplejson
DEPENDS+= ${PYPKGPREFIX}-six>=1.6.1:../../lang/py-six
-#DEPENDS+= ${PYPKGPREFIX}-tox>=1.3:../../*/py-tox
-
-# csvkit publishes files like "0.9.0.tar.gz"
-DIST_SUBDIR= ${PKGNAME_NOREV}
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.9.3:../../databases/py-sqlalchemy
+DEPENDS+= ${PYPKGPREFIX}-xlrd>=0.9.2:../../textproc/py-xlrd
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=3.5.1:../../devel/py-coverage
USE_LANGUAGES= # none
-EGG_NAME= ${PKGNAME_NOREV}
-
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2ab63369be9b -r 5e9b8ef3d77a textproc/csvkit/distinfo
--- a/textproc/csvkit/distinfo Wed Nov 24 09:51:55 2021 +0000
+++ b/textproc/csvkit/distinfo Wed Nov 24 10:22:32 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:21:48 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/11/24 10:22:32 wiz Exp $
-BLAKE2s (csvkit-0.9.0/0.9.0.tar.gz) = c26f14554b396cd65cc28831d7ea496ad8bcd98f009a7d720025b37cfaf54d37
-SHA512 (csvkit-0.9.0/0.9.0.tar.gz) = f4315a9e6de26d8dcccb127aa1f6b2d0018b84be561797a0d7094b036add5ceb8232d27a4d5e63dffd039524ec96399fa667b3feb40256df82d47be95ff08fbe
-Size (csvkit-0.9.0/0.9.0.tar.gz) = 3928467 bytes
+BLAKE2s (csvkit-0.9.0.tar.gz) = c26f14554b396cd65cc28831d7ea496ad8bcd98f009a7d720025b37cfaf54d37
+SHA512 (csvkit-0.9.0.tar.gz) = f4315a9e6de26d8dcccb127aa1f6b2d0018b84be561797a0d7094b036add5ceb8232d27a4d5e63dffd039524ec96399fa667b3feb40256df82d47be95ff08fbe
+Size (csvkit-0.9.0.tar.gz) = 3928467 bytes
SHA1 (patch-csvkit_convert_____init____.py) = b2da7ef399cac88c9f4de737aa0b43ee61341ce0
-SHA1 (patch-setup.py) = 41b954a6d9f0bb815930acf12cea5cd487d0e48e
+SHA1 (patch-csvkit_convert_xlsx.py) = ae5e72fa46f8bbf3ed8a594c6181011f0d7035df
+SHA1 (patch-setup.py) = dc7c90a49a6025490744600a6252bfd37a603150
diff -r 2ab63369be9b -r 5e9b8ef3d77a textproc/csvkit/patches/patch-csvkit_convert_xlsx.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/csvkit/patches/patch-csvkit_convert_xlsx.py Wed Nov 24 10:22:32 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-csvkit_convert_xlsx.py,v 1.1 2021/11/24 10:22:32 wiz Exp $
+
+use_iterators was replaced with read_only
+https://openpyxl.readthedocs.io/en/stable/changes.html?highlight=use_iterators#a1-2016-04-11
+
+--- csvkit/convert/xlsx.py.orig 2014-09-09 00:22:49.000000000 +0000
++++ csvkit/convert/xlsx.py
+@@ -48,7 +48,7 @@ def xlsx2csv(f, output=None, **kwargs):
+
+ writer = CSVKitWriter(output)
+
+- book = load_workbook(f, use_iterators=True, data_only=True)
++ book = load_workbook(f, read_only=True, data_only=True)
+
+ if 'sheet' in kwargs:
+ sheet = book.get_sheet_by_name(kwargs['sheet'])
diff -r 2ab63369be9b -r 5e9b8ef3d77a textproc/csvkit/patches/patch-setup.py
--- a/textproc/csvkit/patches/patch-setup.py Wed Nov 24 09:51:55 2021 +0000
+++ b/textproc/csvkit/patches/patch-setup.py Wed Nov 24 10:22:32 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-setup.py,v 1.2 2015/04/18 18:27:16 cheusov Exp $
+$NetBSD: patch-setup.py,v 1.3 2021/11/24 10:22:32 wiz Exp $
# Fix too strict requirements
+
--- setup.py.orig 2014-09-09 00:22:49.000000000 +0000
+++ setup.py
@@ -8,7 +8,7 @@ install_requires = [
Home |
Main Index |
Thread Index |
Old Index