mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
sys-libs/tdb: Sync with gentoo
It's from gentoo commit 1aceb8a869524d1d4519b8119099dd9e93edc5f3.
This commit is contained in:
parent
beba9197a2
commit
9e0d201f2f
@ -1 +1 @@
|
|||||||
DIST tdb-1.4.3.tar.gz 702836 BLAKE2B 6593c3be527b383a7e8fd85b3613cf2429f6b665a7c609a56f57a6f5b41a080c1a681d712afd423c2bc1c741e06d7cd2c90949d9c5bf78ca834b18c64e23d51c SHA512 99488839e7da396f04df60412d21a7d3e09efeab52772d6cb5e9470a3dfd585d73ef2422c51cd0d8ccc123a65d455de400d5d6b24a21a2a50d3da60d9a70e67a
|
DIST tdb-1.4.5.tar.gz 729650 BLAKE2B 5d8a226cf251268d70f68759fb792628559fa3b10e7843d1a53914ea24f0ceca61fe0c3f348d704ebc8df4c56fe2365690b585b1c96cf53d63ecae1960aca58a SHA512 373b2ce5b2c68fbc28b7679f0e7531115b91ddc6a68b27acada39b995f66b508b19f24d712fc4388654199abd69857e53ebd435d1ed47e3a69ba85ff667fed56
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<maintainer type="project">
|
||||||
<email>patrick@gentoo.org</email>
|
|
||||||
<name>Patrick Lauer</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>samba@gentoo.org</email>
|
<email>samba@gentoo.org</email>
|
||||||
<name>Samba</name>
|
<name>Samba</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
@ -1,35 +1,33 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
PYTHON_REQ_USE="threads(+)"
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
inherit waf-utils multilib-minimal python-single-r1
|
inherit waf-utils multilib-minimal python-single-r1
|
||||||
|
|
||||||
DESCRIPTION="A simple database API"
|
DESCRIPTION="Simple database API"
|
||||||
HOMEPAGE="https://tdb.samba.org/"
|
HOMEPAGE="https://tdb.samba.org/"
|
||||||
SRC_URI="https://samba.org/ftp/tdb/${P}.tar.gz"
|
SRC_URI="https://samba.org/ftp/tdb/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
IUSE="python"
|
IUSE="python"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
RDEPEND="
|
||||||
|
!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
|
||||||
RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
|
|
||||||
python? ( ${PYTHON_DEPS} )"
|
python? ( ${PYTHON_DEPS} )"
|
||||||
DEPEND="
|
DEPEND="${RDEPEND}
|
||||||
${RDEPEND}
|
virtual/libcrypt"
|
||||||
${PYTHON_DEPS}
|
BDEPEND="${PYTHON_DEPS}
|
||||||
app-text/docbook-xml-dtd:4.2"
|
app-text/docbook-xml-dtd:4.2"
|
||||||
|
|
||||||
WAF_BINARY="${S}/buildtools/bin/waf"
|
WAF_BINARY="${S}/buildtools/bin/waf"
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
python_fix_shebang .
|
python_fix_shebang .
|
||||||
@ -38,7 +36,7 @@ src_prepare() {
|
|||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local extra_opts=()
|
local extra_opts=()
|
||||||
if ! multilib_is_native_abi || ! use python; then
|
if ! multilib_is_native_abi || ! use python ; then
|
||||||
extra_opts+=( --disable-python )
|
extra_opts+=( --disable-python )
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user