summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2021-02-25 10:04:22 -0700
committerNicolas Bock <nicolasbock@gentoo.org>2021-02-25 12:26:39 -0700
commita33fbed90aab3d21ab80a82604c65452921b53ec (patch)
tree63655972e0c36a476335fb6dc5f3609c623a6451 /dev-db/lmdb++
parentdev-lang/php: Clean up vulnerable versions (diff)
downloadgentoo-a33fbed90aab3d21ab80a82604c65452921b53ec.tar.gz
gentoo-a33fbed90aab3d21ab80a82604c65452921b53ec.tar.bz2
gentoo-a33fbed90aab3d21ab80a82604c65452921b53ec.zip
dev-db/lmdb++: Version bump to 1.0.0
Also updated upstream since the old one appears dead. Closes: https://github.com/gentoo/gentoo/pull/19651 Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'dev-db/lmdb++')
-rw-r--r--dev-db/lmdb++/Manifest1
-rw-r--r--dev-db/lmdb++/lmdb++-0.9.14.0.ebuild4
-rw-r--r--dev-db/lmdb++/lmdb++-1.0.0.ebuild23
-rw-r--r--dev-db/lmdb++/metadata.xml2
4 files changed, 27 insertions, 3 deletions
diff --git a/dev-db/lmdb++/Manifest b/dev-db/lmdb++/Manifest
index 2158770e2c39..3fe4301e3c50 100644
--- a/dev-db/lmdb++/Manifest
+++ b/dev-db/lmdb++/Manifest
@@ -1 +1,2 @@
DIST lmdbxx-0.9.14.0.tar.gz 14732 BLAKE2B c6c1217dc7bd56051152cba594b7aa571a055e5c155f777639569abbe38360f808dcd2858ca124db97e37147aa4e90df68fd1a8d23137b5e6663df0c2f0a84be SHA512 8eff8c89e0cb9989d8a0cedfd483856aeb2fcf810d59cf8afca3086034711ff22f2bb88ba967ef745d36fdaa1b5e79fb75655af764cddcdb2ac59fc255da670d
+DIST lmdbxx-1.0.0.tar.gz 52441 BLAKE2B 203173132a9c84c2d6a53799f8acc92dac5bd075b69f7b25e8eee3341933ccdd868eb190cef07371469856e32fc42215c5395db61f141863f60a5d0a2b888790 SHA512 54f6c4863273b4de8aed6bc19f353c7a66d8ae633198e9784c55cea8e54460e4030ebe45e91a7c820aade084933f21cd4193ef8c04bb2aef11bf252281404171
diff --git a/dev-db/lmdb++/lmdb++-0.9.14.0.ebuild b/dev-db/lmdb++/lmdb++-0.9.14.0.ebuild
index f87e4833db55..72646bad27e1 100644
--- a/dev-db/lmdb++/lmdb++-0.9.14.0.ebuild
+++ b/dev-db/lmdb++/lmdb++-0.9.14.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
MY_P="${P/lmdb++/lmdbxx}"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-db/lmdb++/lmdb++-1.0.0.ebuild b/dev-db/lmdb++/lmdb++-1.0.0.ebuild
new file mode 100644
index 000000000000..679ba682a754
--- /dev/null
+++ b/dev-db/lmdb++/lmdb++-1.0.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/lmdb++/lmdbxx}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="C++11 wrapper for the LMDB database library"
+HOMEPAGE="https://github.com/hoytech/lmdbxx"
+SRC_URI="https://github.com/hoytech/lmdbxx/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-db/lmdb"
+
+src_install() {
+ emake PREFIX="${D}/usr" install
+ dodoc AUTHORS CREDITS INSTALL README.md TODO UNLICENSE
+}
diff --git a/dev-db/lmdb++/metadata.xml b/dev-db/lmdb++/metadata.xml
index 40459a804d71..5429e7341dcd 100644
--- a/dev-db/lmdb++/metadata.xml
+++ b/dev-db/lmdb++/metadata.xml
@@ -11,6 +11,6 @@
object-oriented resource interface with RAII semantics.
</longdescription>
<upstream>
- <remote-id type="sourceforge">lmdbxx</remote-id>
+ <remote-id type="github">hoytech/lmdbxx</remote-id>
</upstream>
</pkgmetadata>