pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libxlsxwriter



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Fri Nov 19 22:13:32 UTC 2021

Modified Files:
        pkgsrc/textproc/libxlsxwriter: Makefile PLIST buildlink3.mk distinfo
Added Files:
        pkgsrc/textproc/libxlsxwriter/patches: patch-test_cpp_Makefile

Log Message:
textproc/libxlsxwriter: Update to 1.1.4

Changes:
 - Added support for Worksheet tables. Tables in Excel are a way of
   grouping a range of cells into a single entity that has common
   formatting or that can be referenced from formulas. Tables can have
   column headers, autofilters, total rows, column formulas and default
   formatting. See working_with_tables and tables.c.
 - Added support for adding a macro button to a worksheet. See macro.c.

Package changes:
 - Fixed test target (missing py.test version suffix).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/libxlsxwriter/Makefile \
    pkgsrc/textproc/libxlsxwriter/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/libxlsxwriter/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/libxlsxwriter/buildlink3.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/libxlsxwriter/patches/patch-test_cpp_Makefile

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

Modified files:

Index: pkgsrc/textproc/libxlsxwriter/Makefile
diff -u pkgsrc/textproc/libxlsxwriter/Makefile:1.17 pkgsrc/textproc/libxlsxwriter/Makefile:1.18
--- pkgsrc/textproc/libxlsxwriter/Makefile:1.17 Tue Aug 10 12:05:40 2021
+++ pkgsrc/textproc/libxlsxwriter/Makefile      Fri Nov 19 22:13:32 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2021/08/10 12:05:40 sjmulder Exp $
+# $NetBSD: Makefile,v 1.18 2021/11/19 22:13:32 sjmulder Exp $
 
-DISTNAME=      libxlsxwriter-1.1.3
+DISTNAME=      libxlsxwriter-1.1.4
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jmcnamara/}
 GITHUB_TAG=    RELEASE_${PKGVERSION_NOREV}
@@ -15,15 +15,19 @@ PYTHON_FOR_BUILD_ONLY=      test
 TEST_TARGET=   test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
+# C++ is used for tests
+USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake
 
 .include "../../lang/python/pyversion.mk"
 
+MAKE_ENV+=     V=1
 MAKE_ENV+=     OPT_LEVEL=
 # Prefer non-bundled dependencies
 MAKE_ENV+=     USE_SYSTEM_MINIZIP=1
 MAKE_ENV+=     USE_STANDARD_TMPFILE=1
 MAKE_ENV+=     USE_OPENSSL_MD5=1
+MAKE_ENV+=     PYTEST=py.test-${PYVERSSUFFIX}
 
 # minizip has C++ style comments
 BUILDLINK_TRANSFORM+=  rm:-ansi
Index: pkgsrc/textproc/libxlsxwriter/distinfo
diff -u pkgsrc/textproc/libxlsxwriter/distinfo:1.17 pkgsrc/textproc/libxlsxwriter/distinfo:1.18
--- pkgsrc/textproc/libxlsxwriter/distinfo:1.17 Tue Oct 26 11:22:17 2021
+++ pkgsrc/textproc/libxlsxwriter/distinfo      Fri Nov 19 22:13:32 2021
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 11:22:17 nia Exp $
+$NetBSD: distinfo,v 1.18 2021/11/19 22:13:32 sjmulder Exp $
 
-BLAKE2s (libxlsxwriter-1.1.3.tar.gz) = 59a1715302fb640d2310468dcb6cb0e87d3a28c038672bae807bfc71e0d395b2
-SHA512 (libxlsxwriter-1.1.3.tar.gz) = 1b7bf114c89801da214a29c84d7886786dcc6d6123c410938660597f92ab75c14d3110c9c95368cbbc075e7b707908397d41bbbaf5d0d059a4792bc8787b5f17
-Size (libxlsxwriter-1.1.3.tar.gz) = 19166983 bytes
+BLAKE2s (libxlsxwriter-1.1.4.tar.gz) = 8481f135c9687c7e25d697da2dec34a6cc1d0c426caa806a09e599b26244cf45
+SHA512 (libxlsxwriter-1.1.4.tar.gz) = fad36f7882fcb21b87e13cf603022cfad3f14e6f955a06e2771712facd0fe12f83f4d1655dc1a744724bda1ac83af7e7bf1393457c5507d8983f63002ab294b5
+Size (libxlsxwriter-1.1.4.tar.gz) = 20442200 bytes
+SHA1 (patch-test_cpp_Makefile) = a714517948a453daeb6cbb6740ca46d2af05bac7

Index: pkgsrc/textproc/libxlsxwriter/PLIST
diff -u pkgsrc/textproc/libxlsxwriter/PLIST:1.5 pkgsrc/textproc/libxlsxwriter/PLIST:1.6
--- pkgsrc/textproc/libxlsxwriter/PLIST:1.5     Mon Aug  9 07:05:23 2021
+++ pkgsrc/textproc/libxlsxwriter/PLIST Fri Nov 19 22:13:32 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/08/09 07:05:23 sjmulder Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/11/19 22:13:32 sjmulder Exp $
 include/xlsxwriter.h
 include/xlsxwriter/app.h
 include/xlsxwriter/chart.h
@@ -16,6 +16,7 @@ include/xlsxwriter/packager.h
 include/xlsxwriter/relationships.h
 include/xlsxwriter/shared_strings.h
 include/xlsxwriter/styles.h
+include/xlsxwriter/table.h
 include/xlsxwriter/theme.h
 include/xlsxwriter/third_party/emyg_dtoa.h
 include/xlsxwriter/third_party/ioapi.h
@@ -31,5 +32,5 @@ include/xlsxwriter/worksheet.h
 include/xlsxwriter/xmlwriter.h
 lib/libxlsxwriter.a
 lib/libxlsxwriter.so
-lib/libxlsxwriter.so.3
+lib/libxlsxwriter.so.4
 lib/pkgconfig/xlsxwriter.pc

Index: pkgsrc/textproc/libxlsxwriter/buildlink3.mk
diff -u pkgsrc/textproc/libxlsxwriter/buildlink3.mk:1.11 pkgsrc/textproc/libxlsxwriter/buildlink3.mk:1.12
--- pkgsrc/textproc/libxlsxwriter/buildlink3.mk:1.11    Mon Aug  9 07:05:23 2021
+++ pkgsrc/textproc/libxlsxwriter/buildlink3.mk Fri Nov 19 22:13:32 2021
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.11 2021/08/09 07:05:23 sjmulder Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2021/11/19 22:13:32 sjmulder Exp $
 
 BUILDLINK_TREE+=       libxlsxwriter
 
 .if !defined(LIBXLSXWRITER_BUILDLINK3_MK)
 LIBXLSXWRITER_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libxlsxwriter+=  libxlsxwriter>=1.1.2
+BUILDLINK_API_DEPENDS.libxlsxwriter+=  libxlsxwriter>=1.1.4
 BUILDLINK_PKGSRCDIR.libxlsxwriter?=    ../../textproc/libxlsxwriter
 
 .include "../../archivers/minizip/buildlink3.mk"

Added files:

Index: pkgsrc/textproc/libxlsxwriter/patches/patch-test_cpp_Makefile
diff -u /dev/null pkgsrc/textproc/libxlsxwriter/patches/patch-test_cpp_Makefile:1.1
--- /dev/null   Fri Nov 19 22:13:32 2021
+++ pkgsrc/textproc/libxlsxwriter/patches/patch-test_cpp_Makefile       Fri Nov 19 22:13:32 2021
@@ -0,0 +1,29 @@
+$NetBSD: patch-test_cpp_Makefile,v 1.1 2021/11/19 22:13:32 sjmulder Exp $
+
+- Respect LDFLAGS in C++ tests
+- Link libraries required by libxlsxwriter.a with USE_SYSTEM_MINIZIP
+  or USE_OPENSSL_MD5 set.
+
+--- test/cpp/Makefile.orig     2021-10-09 13:44:36.000000000 +0000
++++ test/cpp/Makefile
+@@ -24,6 +24,14 @@ EXES = $(patsubst %.cpp,%,$(SRCS))
+ LIBXLSXWRITER = ../../src/libxlsxwriter.a
+ LIBS = $(LIBXLSXWRITER) -lz
+ 
++ifdef USE_SYSTEM_MINIZIP
++LIBS += -lminizip
++endif
++
++ifdef USE_OPENSSL_MD5
++LIBS += -lcrypto
++endif
++
+ all : $(LIBXLSXWRITER) $(EXES)
+ 
+ $(LIBXLSXWRITER):
+@@ -34,4 +42,4 @@ clean :
+ 
+ # Executable targets.
+ %: %.cpp $(LIBXLSXWRITER)
+-      $(Q)$(CXX) -I$(INC_DIR) $(CXXFLAGS) $< -o $@ $(LIBS)
++      $(Q)$(CXX) -I$(INC_DIR) $(CXXFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)



Home | Main Index | Thread Index | Old Index