commit: 16bb7fc4f20353ad671428ef9aa52551571d5ff2
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jun 17 08:35:07 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Jun 17 08:35:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16bb7fc4
www-apps/gotosocial: drop 0.8.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 2 -
www-apps/gotosocial/gotosocial-0.8.1.ebuild | 102 ----------------------------
2 files changed, 104 deletions(-)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index 293b7dbe2..234c4529a 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,4 +1,2 @@
-DIST gotosocial-0.8.1-source-code.tar.gz 52503983 BLAKE2B
388781cd5323c97eda6a6a92e3752d56d0bc648e4a3e1e0193df2f68ee3ec492405148655f6fbc0470296496cca521e088b3535ff3659adf2920696a91daa321
SHA512
d0bb785ec7617edbd5409b48138d5b3bcd201533e951bfff228ca7ddfa620970bf5a648e8e0fc9aeb654536974ddcda4556ee440f38d01a3c53900df7abd44ed
DIST gotosocial-0.9.0-source-code.tar.gz 55117728 BLAKE2B
e9a02e3d6b27d242db3a239e95653973a498b67e606824d8a2ff141498b8bbf6be0f434d96abad2129e7ca4dab379b815ac04749e036caf0963d6160508768bd
SHA512
7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c
-DIST gotosocial_0.8.1_web-assets.tar.gz 1306946 BLAKE2B
82f5a9b2b8b3dcfcaa8ecfbd806b24bc885d9d139d12defb8c155bf8c621c7263519f8bf7f3e89870131b63900a15a1b660206aeb8871bfffe430c21f4fb308e
SHA512
9c8e226b950448c0b66379a71ef0c97f72386999294b1b465780f162a2f619a7061221bc5c43c3aa7bc27deffaee557b05f57666304ac7901f000c07cdac7687
DIST gotosocial_0.9.0_web-assets.tar.gz 1357671 BLAKE2B
aeab657eb72db5178287afd75b6c1d06238f8c769f3bfc21cf6249b8eed468b7009b2401c64aca22964ebd7a6554066a2c38d9d441a39789c731faa6e9c17c29
SHA512
0d83b093ab8f45ae8ed3eebcf1aed66b27a5d996e5c0dc30e16cc99a881b7e2b333ba4cf4fd78486c42b3bef9245d1ba89743a87ae0f969e8be6a756cf1dcfc6
diff --git a/www-apps/gotosocial/gotosocial-0.8.1.ebuild
b/www-apps/gotosocial/gotosocial-0.8.1.ebuild
deleted file mode 100644
index 948ff2c42..000000000
--- a/www-apps/gotosocial/gotosocial-0.8.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND=(
- dev-python/mkdocs-material
- dev-python/mkdocs-swagger-ui-tag
- dev-python/pillow
- dev-python/regex
- media-gfx/cairosvg
-)
-inherit python-any-r1 docs go-module systemd tmpfiles
-
-DESCRIPTION="Fast, fun, ActivityPub server, powered by Go"
-HOMEPAGE="
- https://gotosocial.org/
- https://github.com/superseriousbusiness/gotosocial
-"
-GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}"
-SRC_URI="
- ${GH_RELEASE}/${P}-source-code.tar.gz
- ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz
-"
-S="${WORKDIR}"
-
-LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT
MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# Flaky tests
-RESTRICT="test"
-
-RDEPEND="acct-user/gotosocial"
-
-DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md )
-
-src_unpack() {
- # source code
- unpack ${P}-source-code.tar.gz
- rm -r web || die
-
- # prebuilt web assets
- unpack ${PN}_${PV}_web-assets.tar.gz
-}
-
-src_prepare() {
- default
-
- sed -i example/config.yaml \
- -e
"s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \
- -e
"s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \
- -e
"s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \
- || die
-}
-
-src_configure() {
- GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat"
-}
-
-src_compile() {
- local myargs=(
- -trimpath
- -ldflags "-X main.Version=${PV}"
- )
-
- ego build "${myargs[@]}" ./cmd/gotosocial
-
- use doc && docs_compile
-}
-
-src_test() {
- local -x GTS_DB_TYPE="sqlite"
- local -x GTS_DB_ADDRESS=":memory:"
-
- local -x GOFLAGS
- GOFLAGS="${GOFLAGS//-v/}"
- GOFLAGS="${GOFLAGS//-x/}"
-
- ego test -vet off ./...
-}
-
-src_install() {
- dobin gotosocial
-
- newinitd "${FILESDIR}"/gotosocial.initd ${PN}
- newconfd "${FILESDIR}"/gotosocial.confd ${PN}
- systemd_dounit "${FILESDIR}"/gotosocial.service
- newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf
-
- insinto /usr/share/gotosocial
- doins -r web
-
- insinto /etc/gotosocial
- doins example/config.yaml
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.conf
-}