[dev-libs/mongo-c-driver] add docs tarball
This commit is contained in:
parent
7573325668
commit
5a0ccc7e1f
@ -1,2 +1,3 @@
|
||||
DIST mongo-c-driver-1.30.5-docs.tar.xz 124180 BLAKE2B 7235d0f66b74f86195ec0b3cbdfd5b65880fbd5245340869ebe064f23a741725d7901855c33abb512102711e46e216df4fa7d183df27e57c54c3efdd2f6cce89 SHA512 0c02647fac30ac65494dce2da6f8a1ff42e0fe67c2ff75cb12d81d634e07243edf4f5bb2f1b23aa5f77a247dc9f5e274e82bedb6e61f8fb87f4c5c9133034ba9
|
||||
DIST mongo-c-driver-1.30.5.tar.gz 7434294 BLAKE2B 910a3929481625add6578f26cddacdbda788a8c6a6828ca7d6c2abc9a4350edc5f0ee13003197f93bb01cbd42e07330344f8a7c8d194ad86525665e23469e3d8 SHA512 3740f91a6d72d400057ecd0920740579ff664f230815bbf2cad1d0a0a268de99b40be3f05cdfe22759ca789d938cf7d3bbd439c431867b82d83c3d1690df3f68
|
||||
DIST mongo-c-driver-1.30.5.tar.gz.asc 833 BLAKE2B f92098b9946a0eb0b633ae5e8b7c444d5c0085fc5980993a25910802289def5cd04e19a0aba077ea9f4c954a65c06769cf63cb6f7961813bfd95c66101072b52 SHA512 5d7cc4037a5a145ed53e8e60d18d47f3d7b867320f08b3c755e00fe11a8305c7f449b30b31e59310577344495406aaeca78b2cd843d7c31c02e03200e55e0bf6
|
||||
|
@ -3,6 +3,14 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Generate using slight deviation from https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-cmake-docs
|
||||
# Set to 1 if prebuilt, 0 if not
|
||||
# (the construct below is to allow overriding from env for script)
|
||||
: ${MONGOCDRIVER_DOCS_PREBUILT:=1}
|
||||
|
||||
# Default to generating man pages if no prebuilt; overridden later
|
||||
MONGOCDRIVER_DOCS_USEFLAG="+man"
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mongo-c-driver.asc
|
||||
|
||||
@ -17,10 +25,15 @@ SRC_URI="
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${MONGOCDRIVER_DOCS_PREBUILT} == 1 ]] ; then
|
||||
SRC_URI+=" !man? ( https://people.znc.in/~dessa/gentoo/distfiles/${CATEGORY}/${PN}/${PN}-${PV}-docs.tar.xz )"
|
||||
MONGOCDRIVER_DOC_USEFLAG="man"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="debug examples +s3 sasl +ssl static-libs test +test-full"
|
||||
IUSE="debug examples ${MONGOCDRIVER_DOC_USEFLAG} +s3 sasl +ssl static-libs test +test-full"
|
||||
REQUIRED_USE="
|
||||
s3? ( ssl )
|
||||
test? ( static-libs )"
|
||||
@ -50,9 +63,12 @@ DEPEND="
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
man? (
|
||||
$(python_gen_any_dep '
|
||||
<dev-python/docutils-0.22[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
verify-sig? ( sec-keys/openpgp-keys-mongo-c-driver )
|
||||
"
|
||||
|
||||
@ -62,6 +78,7 @@ PATCHES=(
|
||||
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]"
|
||||
python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,14 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Generate using slight deviation from https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-cmake-docs
|
||||
# Set to 1 if prebuilt, 0 if not
|
||||
# (the construct below is to allow overriding from env for script)
|
||||
: ${MONGOCDRIVER_DOCS_PREBUILT:=1}
|
||||
|
||||
# Default to generating man pages if no prebuilt; overridden later
|
||||
MONGOCDRIVER_DOCS_USEFLAG="+man"
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mongo-c-driver.asc
|
||||
|
||||
@ -17,10 +25,15 @@ SRC_URI="
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${MONGOCDRIVER_DOCS_PREBUILT} == 1 ]] ; then
|
||||
SRC_URI+=" !man? ( https://people.znc.in/~dessa/gentoo/distfiles/${CATEGORY}/${PN}/${PN}-${PV}-docs.tar.xz )"
|
||||
MONGOCDRIVER_DOC_USEFLAG="man"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86"
|
||||
IUSE="debug examples sasl +ssl static-libs test +test-full"
|
||||
IUSE="debug examples ${MONGOCDRIVER_DOC_USEFLAG} sasl +ssl static-libs test +test-full"
|
||||
REQUIRED_USE="
|
||||
test? ( static-libs )"
|
||||
|
||||
@ -47,9 +60,12 @@ DEPEND="
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
man? (
|
||||
$(python_gen_any_dep '
|
||||
<dev-python/docutils-0.22[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
verify-sig? ( sec-keys/openpgp-keys-mongo-c-driver )
|
||||
"
|
||||
|
||||
@ -59,6 +75,7 @@ PATCHES=(
|
||||
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]"
|
||||
python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user