dev-cpp/mastodon-cpp: Remove package.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f4e98a272a
commit
b0a79cae4a
|
@ -1 +0,0 @@
|
||||||
DIST mastodon-cpp-0.111.5.tar.gz 73167 BLAKE2B 2e43f6a4f034217241ca621da37218b646e65df359f51eb3914fc9fa91924f058350683c6bb5c05aa34ae8ae94a87f6b26b6e7d2082d27c7d4deccf64adefcaa SHA512 eea93a199cbc22dbd146efd48194a38e4e88447066e370546df655a98f0e55c08836152dbbba29cf0ca3439382715a4d524537427d07d28cf887f589b7a9cd0f
|
|
|
@ -1,85 +0,0 @@
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit cmake-utils
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API."
|
|
||||||
HOMEPAGE="https://schlomp.space/tastytea/mastodon-cpp"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
EGIT_REPO_URI="https://schlomp.space/tastytea/mastodon-cpp.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://schlomp.space/tastytea/mastodon-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
KEYWORDS=""
|
|
||||||
else
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
fi
|
|
||||||
IUSE="doc examples minimal test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/poco-1.9.0-r2[net,ssl]
|
|
||||||
!minimal? ( dev-libs/jsoncpp )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-util/cmake
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
test? ( dev-cpp/catch )
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DWITH_DOC=NO
|
|
||||||
-DWITH_EXAMPLES=NO
|
|
||||||
-DWITH_EASY="$(usex minimal NO YES)"
|
|
||||||
-DWITH_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
if use test; then
|
|
||||||
# Don't run tests that need a network connection.
|
|
||||||
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[api]")
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
# We can not let cmake handle the documentation, because it would end up in
|
|
||||||
# doc/mastodon-cpp-${PROJECT_VERSION} instead of -9999
|
|
||||||
src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
./build_doc.sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use doc; then
|
|
||||||
HTML_DOCS="doc/html/*"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
for file in examples/*.cpp; do
|
|
||||||
dodoc ${file}
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
src_postinst() {
|
|
||||||
ewarn "This version of mastodon-cpp is considerably different from versions below 0.100.0."
|
|
||||||
ewarn "Upgrading will require extensive code changes."
|
|
||||||
}
|
|
|
@ -1,85 +0,0 @@
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit cmake-utils
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API."
|
|
||||||
HOMEPAGE="https://schlomp.space/tastytea/mastodon-cpp"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
EGIT_REPO_URI="https://schlomp.space/tastytea/mastodon-cpp.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://schlomp.space/tastytea/mastodon-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
KEYWORDS=""
|
|
||||||
else
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
fi
|
|
||||||
IUSE="doc examples minimal test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/poco-1.9.0-r2[net,ssl]
|
|
||||||
!minimal? ( dev-libs/jsoncpp )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-util/cmake
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
test? ( dev-cpp/catch )
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DWITH_DOC=NO
|
|
||||||
-DWITH_EXAMPLES=NO
|
|
||||||
-DWITH_EASY="$(usex minimal NO YES)"
|
|
||||||
-DWITH_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
if use test; then
|
|
||||||
# Don't run tests that need a network connection.
|
|
||||||
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[api]")
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
# We can not let cmake handle the documentation, because it would end up in
|
|
||||||
# doc/mastodon-cpp-${PROJECT_VERSION} instead of -9999
|
|
||||||
src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
./build_doc.sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use doc; then
|
|
||||||
HTML_DOCS="doc/html/*"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
for file in examples/*.cpp; do
|
|
||||||
dodoc ${file}
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
src_postinst() {
|
|
||||||
ewarn "This version of mastodon-cpp is considerably different from versions below 0.100.0."
|
|
||||||
ewarn "Upgrading will require extensive code changes."
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>gentoo@tastytea.de</email>
|
|
||||||
<name>tastytea</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<maintainer status="inactive">
|
|
||||||
<name>tastytea</name>
|
|
||||||
<email>tastytea@tastytea.de</email>
|
|
||||||
</maintainer>
|
|
||||||
<doc>https://doc.schlomp.space/mastodon-cpp/</doc>
|
|
||||||
<bugs-to>https://schlomp.space/tastytea/mastodon-cpp/issues</bugs-to>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
|
@ -1,7 +1,3 @@
|
||||||
# tastytea <gentoo@tastytea.de> (2020-11-16)
|
|
||||||
# Unmaintained. Use dev-cpp/mastodonpp instead. Masked for removal in 30 days.
|
|
||||||
dev-cpp/mastodon-cpp
|
|
||||||
|
|
||||||
# tastytea <gentoo@tastytea.de> (2020-11-29)
|
# tastytea <gentoo@tastytea.de> (2020-11-29)
|
||||||
# The package is in the guru[1] repository now. Please use that instead. Masked
|
# The package is in the guru[1] repository now. Please use that instead. Masked
|
||||||
# for removal in 30 days.
|
# for removal in 30 days.
|
||||||
|
|
Reference in New Issue
Block a user