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 6.2.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/42bf62d21365
branches: trunk
changeset: 379683:42bf62d21365
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Thu May 03 12:58:24 2018 +0000
description:
Update libpqxx to 6.2.2
patch-ab no longer needed just since 15 Jan 2018(!)
5 years worth of changes including:
- C++11 is now required. Your compiler must have shared_ptr, noexcept, etc.
- Removed pqxx::items. Use the new C++11 initialiser syntax.
- Removed maketemporary. We weren't using it.
- Can now be built outside the source tree.
- New, simpler, lambda-friendly transactor framework.
- New, simpler, prepared statements and parameterised statements.
- Result rows can be passed around independently.
- New exec0(): perform query, expect zero rows of data.
- New exec1(): perform query, expect (and return) a single row of data.
- New exec_n(): perform query, expect exactly n rows of data.
- No longer defines Visual Studio's NOMINMAX in headers.
- Much faster configure script.
- Most configuration items are gone.
- Retired all existing capability flags.
- Documentation on readthedocs.org, thanks Tim Sheerman-Chase.
- Expose SQLSTATE error codes in sql_error exceptions.
- Adds a first-generation parser for SQL arrays.
diffstat:
databases/libpqxx/Makefile | 28 +-
databases/libpqxx/Makefile.common | 16 -
databases/libpqxx/PLIST | 436 ++++++++++++++++-
databases/libpqxx/buildlink3.mk | 5 +-
databases/libpqxx/distinfo | 14 +-
databases/libpqxx/patches/patch-ab | 14 -
databases/libpqxx/patches/patch-configure.ac | 55 ++
databases/libpqxx/patches/patch-src_largeobject.cxx | 14 -
databases/libpqxx/patches/patch-tools_extract__version | 27 +
9 files changed, 534 insertions(+), 75 deletions(-)
diffs (truncated from 711 to 300 lines):
diff -r ef50306ae8f9 -r 42bf62d21365 databases/libpqxx/Makefile
--- a/databases/libpqxx/Makefile Thu May 03 12:48:05 2018 +0000
+++ b/databases/libpqxx/Makefile Thu May 03 12:58:24 2018 +0000
@@ -1,25 +1,29 @@
-# $NetBSD: Makefile,v 1.33 2017/01/01 14:43:26 wiz Exp $
-
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 4.0.1
+# $NetBSD: Makefile,v 1.34 2018/05/03 12:58:24 prlw1 Exp $
-PKGREVISION= 1
-.include "../../databases/libpqxx/Makefile.common"
+DISTNAME= libpqxx-6.2.2
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jtv/}
+GITHUB_PROJECT= libpqxx
+MAINTAINER= is%NetBSD.org@localhost
+HOMEPAGE= http://pqxx.org/development/libpqxx/
COMMENT= C++ interface to postgresql-lib
+LICENSE= modified-bsd
-# Apparently (at least as of 2004) this package's shared libraries are
-# messed up on a.out platforms. But AFAIK we don't have any in pkgsrc
-# any more. Leave this here for documentation just in case.
-# - dholland 20150101
-#NOT_FOR_PLATFORM= ${AOUTPLATFORMS}
-
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libpqxx.pc.in
GNU_CONFIGURE= yes
+USE_TOOLS+= autoconf gmake
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= tools/splitconfig
+REPLACE_PYTHON+= tools/template2mak.py
+
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
+.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../mk/pgsql.buildlink3.mk"
diff -r ef50306ae8f9 -r 42bf62d21365 databases/libpqxx/Makefile.common
--- a/databases/libpqxx/Makefile.common Thu May 03 12:48:05 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# $NetBSD: Makefile.common,v 1.6 2013/02/12 04:35:24 hiramatsu Exp $
-
-# used by databases/libpqxx/Makefile
-# used by databases/libpqxx-doc/Makefile
-
-LIBPQXX_VERSION= 4.0.1
-DISTNAME= libpqxx-${LIBPQXX_VERSION}
-CATEGORIES= databases
-MASTER_SITES= http://pqxx.org/download/software/libpqxx/
-
-MAINTAINER= is%NetBSD.org@localhost
-HOMEPAGE= http://pqxx.org/development/libpqxx/
-LICENSE= modified-bsd
-
-DISTINFO_FILE= ${.CURDIR}/../../databases/libpqxx/distinfo
-PATCHDIR= ${.CURDIR}/../../databases/libpqxx/patches
diff -r ef50306ae8f9 -r 42bf62d21365 databases/libpqxx/PLIST
--- a/databases/libpqxx/PLIST Thu May 03 12:48:05 2018 +0000
+++ b/databases/libpqxx/PLIST Thu May 03 12:58:24 2018 +0000
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2013/02/12 04:35:24 hiramatsu Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/05/03 12:58:24 prlw1 Exp $
bin/pqxx-config
+include/pqxx/array
+include/pqxx/array.hxx
include/pqxx/basic_connection
include/pqxx/basic_connection.hxx
include/pqxx/binarystring
@@ -40,13 +42,13 @@
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-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-transactionfocus.hxx
include/pqxx/internal/libpq-forward.hxx
-include/pqxx/internal/result_data.hxx
include/pqxx/internal/statement_parameters.hxx
include/pqxx/isolation
include/pqxx/isolation.hxx
@@ -56,9 +58,6 @@
include/pqxx/nontransaction.hxx
include/pqxx/notification
include/pqxx/notification.hxx
-include/pqxx/notify-listen
-include/pqxx/notify-listen.hxx
-include/pqxx/performance.hxx
include/pqxx/pipeline
include/pqxx/pipeline.hxx
include/pqxx/pqxx
@@ -66,8 +65,11 @@
include/pqxx/prepared_statement.hxx
include/pqxx/result
include/pqxx/result.hxx
+include/pqxx/result_iterator.hxx
include/pqxx/robusttransaction
include/pqxx/robusttransaction.hxx
+include/pqxx/row
+include/pqxx/row.hxx
include/pqxx/strconv
include/pqxx/strconv.hxx
include/pqxx/subtransaction
@@ -84,13 +86,429 @@
include/pqxx/transaction_base.hxx
include/pqxx/transactor
include/pqxx/transactor.hxx
-include/pqxx/trigger
-include/pqxx/trigger.hxx
-include/pqxx/tuple
-include/pqxx/tuple.hxx
+include/pqxx/types
+include/pqxx/types.hxx
include/pqxx/util
include/pqxx/util.hxx
include/pqxx/version
include/pqxx/version.hxx
lib/libpqxx.la
lib/pkgconfig/libpqxx.pc
+${PLIST.doc}share/doc/libpqxx/Reference/a00002_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00005_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00008_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00011_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00014_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00017_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00020_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00023_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00026_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00029_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00032_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00035_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00038_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00041_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00044_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00047_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00050_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00053_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00056_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00059_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00062_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00065_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00068_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00071_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00074_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00077_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00080_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00083_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00086_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00089_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00092_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00095_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00098_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00101_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00104_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00107_source.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00110_source.html
+${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/a00227.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00228.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00229.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00230.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00231.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00232.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00233.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00234.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00235.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00236.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00238.html
+${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/a00806.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00807.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00810.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00811.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00814.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00815.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00818.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00819.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00822.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00823.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00826.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00827.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00830.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00831.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00834.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00835.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00838.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00839.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00842.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00843.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00846.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00847.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00850.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00851.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00854.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00855.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00858.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00859.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00862.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00863.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00866.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00867.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00870.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00871.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00874.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00875.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00878.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00879.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00882.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00883.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00886.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00887.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00890.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00891.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00894.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00895.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00898.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00899.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00902.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00903.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00906.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00907.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00910.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00911.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00914.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00915.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00918.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00919.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00922.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00923.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00926.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00927.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00930.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00931.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00934.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00935.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00938.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00939.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00942.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00943.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00946.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00947.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00950.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00951.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00954.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00955.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00958.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00959.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00962.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00963.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00966.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00967.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00970.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00971.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00974.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00975.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00978.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00979.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00982.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00983.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00986.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00987.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00990.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00991.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00994.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00995.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00998.html
+${PLIST.doc}share/doc/libpqxx/Reference/a00999.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01002.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01003.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01006.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01007.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01010.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01011.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01014.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01015.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01018.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01019.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01022.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01023.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01026.html
+${PLIST.doc}share/doc/libpqxx/Reference/a01027.html
Home |
Main Index |
Thread Index |
Old Index