pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/libpqxx Update libpqxx to 7.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96a7316c0a99
branches:  trunk
changeset: 439253:96a7316c0a99
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue Sep 15 09:48:26 2020 +0000

description:
Update libpqxx to 7.1.2

Now requires c++17.

Headline:

   Easier, faster, neater: the transaction classes now have a stream
   method. You specify a query and the C++ types to which you want
   the fields converted, and you get to iterate over the rows. And
   thanks to C++14 structured bindings, you can read the fields
   straight into separate local variables:

   for (auto const [id, name]:
       tx.stream<int, std::string_view>("SELECT id, name FROM thing"))
   {
       process(id, name);
   }

   For super-fast access to a field's text-format contents, convert
   it to std::string_view. It'll give you an immediate reference
   to the buffer containing the field. Beware though: the buffer
   only holds that text for the one iteration. The next iteration
   will overwrite it.

Full list of changes at:
   https://github.com/jtv/libpqxx/blob/7.1.2/NEWS

diffstat:

 databases/libpqxx/Makefile                             |   14 +-
 databases/libpqxx/PLIST                                |  302 +++++++---------
 databases/libpqxx/buildlink3.mk                        |    4 +-
 databases/libpqxx/distinfo                             |   12 +-
 databases/libpqxx/patches/patch-configure.ac           |   55 ---
 databases/libpqxx/patches/patch-tools_extract__version |   27 -
 6 files changed, 139 insertions(+), 275 deletions(-)

diffs (truncated from 686 to 300 lines):

diff -r d8b0ae3a883e -r 96a7316c0a99 databases/libpqxx/Makefile
--- a/databases/libpqxx/Makefile        Tue Sep 15 09:40:08 2020 +0000
+++ b/databases/libpqxx/Makefile        Tue Sep 15 09:48:26 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2019/04/25 07:32:40 maya Exp $
+# $NetBSD: Makefile,v 1.36 2020/09/15 09:48:26 prlw1 Exp $
 
-DISTNAME=              libpqxx-6.2.2
-PKGREVISION=           1
+DISTNAME=              libpqxx-7.1.2
 CATEGORIES=            databases
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=jtv/}
 GITHUB_PROJECT=                libpqxx
@@ -11,18 +10,15 @@
 COMMENT=               C++ interface to postgresql-lib
 LICENSE=               modified-bsd
 
-USE_LANGUAGES=         c c++11
+USE_LANGUAGES=         c++17
 USE_LIBTOOL=           yes
 PKGCONFIG_OVERRIDE+=   libpqxx.pc.in
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            autoconf gmake
+USE_TOOLS+=            gmake pkg-config
 
 PYTHON_FOR_BUILD_ONLY= yes
+REPLACE_PYTHON+=       tools/m4esc.py
 REPLACE_PYTHON+=       tools/splitconfig
-REPLACE_PYTHON+=       tools/template2mak.py
-
-pre-configure:
-       cd ${WRKSRC} && autoconf
 
 .include "options.mk"
 
diff -r d8b0ae3a883e -r 96a7316c0a99 databases/libpqxx/PLIST
--- a/databases/libpqxx/PLIST   Tue Sep 15 09:40:08 2020 +0000
+++ b/databases/libpqxx/PLIST   Tue Sep 15 09:48:26 2020 +0000
@@ -1,21 +1,12 @@
-@comment $NetBSD: PLIST,v 1.6 2018/05/03 12:58:24 prlw1 Exp $
-bin/pqxx-config
+@comment $NetBSD: PLIST,v 1.7 2020/09/15 09:48:26 prlw1 Exp $
 include/pqxx/array
 include/pqxx/array.hxx
-include/pqxx/basic_connection
-include/pqxx/basic_connection.hxx
 include/pqxx/binarystring
 include/pqxx/binarystring.hxx
-include/pqxx/compiler-internal-post.hxx
-include/pqxx/compiler-internal-pre.hxx
 include/pqxx/compiler-public.hxx
 include/pqxx/config-public-compiler.h
 include/pqxx/connection
 include/pqxx/connection.hxx
-include/pqxx/connection_base
-include/pqxx/connection_base.hxx
-include/pqxx/connectionpolicy
-include/pqxx/connectionpolicy.hxx
 include/pqxx/cursor
 include/pqxx/cursor.hxx
 include/pqxx/dbtransaction
@@ -27,14 +18,15 @@
 include/pqxx/field
 include/pqxx/field.hxx
 include/pqxx/internal/callgate.hxx
-include/pqxx/internal/gates/connection-dbtransaction.hxx
+include/pqxx/internal/compiler-internal-post.hxx
+include/pqxx/internal/compiler-internal-pre.hxx
+include/pqxx/internal/conversions.hxx
+include/pqxx/internal/encoding_group.hxx
+include/pqxx/internal/encodings.hxx
 include/pqxx/internal/gates/connection-errorhandler.hxx
 include/pqxx/internal/gates/connection-largeobject.hxx
 include/pqxx/internal/gates/connection-notification_receiver.hxx
-include/pqxx/internal/gates/connection-parameterized_invocation.hxx
 include/pqxx/internal/gates/connection-pipeline.hxx
-include/pqxx/internal/gates/connection-prepare-invocation.hxx
-include/pqxx/internal/gates/connection-reactivation_avoidance_exemption.hxx
 include/pqxx/internal/gates/connection-sql_cursor.hxx
 include/pqxx/internal/gates/connection-transaction.hxx
 include/pqxx/internal/gates/errorhandler-connection.hxx
@@ -42,14 +34,18 @@
 include/pqxx/internal/gates/icursorstream-icursor_iterator.hxx
 include/pqxx/internal/gates/result-connection.hxx
 include/pqxx/internal/gates/result-creation.hxx
-include/pqxx/internal/gates/result-row.hxx
+include/pqxx/internal/gates/result-pipeline.hxx
 include/pqxx/internal/gates/result-sql_cursor.hxx
-include/pqxx/internal/gates/transaction-subtransaction.hxx
-include/pqxx/internal/gates/transaction-tablereader.hxx
-include/pqxx/internal/gates/transaction-tablewriter.hxx
+include/pqxx/internal/gates/transaction-sql_cursor.hxx
 include/pqxx/internal/gates/transaction-transactionfocus.hxx
+include/pqxx/internal/ignore-deprecated-post.hxx
+include/pqxx/internal/ignore-deprecated-pre.hxx
 include/pqxx/internal/libpq-forward.hxx
+include/pqxx/internal/result_iter.hxx
+include/pqxx/internal/sql_cursor.hxx
 include/pqxx/internal/statement_parameters.hxx
+include/pqxx/internal/stream_iterator.hxx
+include/pqxx/internal/transaction_focus.hxx
 include/pqxx/isolation
 include/pqxx/isolation.hxx
 include/pqxx/largeobject
@@ -70,16 +66,16 @@
 include/pqxx/robusttransaction.hxx
 include/pqxx/row
 include/pqxx/row.hxx
+include/pqxx/separated_list
+include/pqxx/separated_list.hxx
 include/pqxx/strconv
 include/pqxx/strconv.hxx
+include/pqxx/stream_from
+include/pqxx/stream_from.hxx
+include/pqxx/stream_to
+include/pqxx/stream_to.hxx
 include/pqxx/subtransaction
 include/pqxx/subtransaction.hxx
-include/pqxx/tablereader
-include/pqxx/tablereader.hxx
-include/pqxx/tablestream
-include/pqxx/tablestream.hxx
-include/pqxx/tablewriter
-include/pqxx/tablewriter.hxx
 include/pqxx/transaction
 include/pqxx/transaction.hxx
 include/pqxx/transaction_base
@@ -92,6 +88,8 @@
 include/pqxx/util.hxx
 include/pqxx/version
 include/pqxx/version.hxx
+include/pqxx/zview
+include/pqxx/zview.hxx
 lib/libpqxx.la
 lib/pkgconfig/libpqxx.pc
 ${PLIST.doc}share/doc/libpqxx/Reference/a00002_source.html
@@ -134,6 +132,8 @@
 ${PLIST.doc}share/doc/libpqxx/Reference/a00113_source.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00116_source.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00119_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00122_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00185_source.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00227.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00228.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00229.html
@@ -148,228 +148,194 @@
 ${PLIST.doc}share/doc/libpqxx/Reference/a00239.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00240.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00241.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00242.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00799.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00802.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00803.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00805.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00806.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00807.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00809.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00810.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00811.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00813.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00814.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00815.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00817.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00818.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00819.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00821.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00822.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00823.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00825.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00826.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00827.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00829.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00830.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00831.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00833.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00834.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00835.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00837.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00838.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00839.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00841.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00842.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00843.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00845.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00846.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00847.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00849.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00850.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00851.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00853.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00854.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00855.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00857.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00858.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00859.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00861.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00862.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00863.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00865.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00866.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00867.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00869.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00870.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00871.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00873.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00874.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00875.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00877.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00878.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00879.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00881.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00882.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00883.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00885.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00886.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00887.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00889.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00890.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00891.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00893.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00894.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00895.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00897.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00898.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00899.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00901.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00902.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00903.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00905.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00906.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00907.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00909.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00910.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00911.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00913.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00914.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00915.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00917.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00918.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00919.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00921.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00922.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00923.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00925.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00926.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00927.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00929.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00930.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00931.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00933.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00934.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00935.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00937.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00938.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00939.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00941.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00942.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00943.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00945.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00946.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00947.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00949.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00950.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00951.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00953.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00954.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00955.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00957.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00958.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00959.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00961.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00962.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00963.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00965.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00966.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00967.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00969.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00970.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00971.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00973.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00974.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00975.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00977.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00978.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00979.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00981.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00982.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00983.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00985.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00986.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00987.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00989.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00990.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00991.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00993.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00994.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00995.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00997.html
 ${PLIST.doc}share/doc/libpqxx/Reference/a00998.html
-${PLIST.doc}share/doc/libpqxx/Reference/a00999.html



Home | Main Index | Thread Index | Old Index