* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2022-11-21 20:12 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2022-11-21 20:12 UTC (permalink / raw
To: gentoo-commits
commit: 7121db6e152bd34b143ccec0051666928f552b83
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Nov 21 19:02:29 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Nov 21 19:02:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7121db6e
www-apps/gotosocial: update LICENSE
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.5.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/gotosocial/gotosocial-0.5.2.ebuild b/www-apps/gotosocial/gotosocial-0.5.2.ebuild
index 2f17fbd27..5043c9236 100644
--- a/www-apps/gotosocial/gotosocial-0.5.2.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.5.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
"
S="${WORKDIR}"
-LICENSE="|| ( WTFPL CC0-1.0 ) AGPL-3 CC0-1.0 MIT"
+LICENSE="|| ( WTFPL CC0-1.0 ) AGPL-3 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2022-12-12 20:26 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2022-12-12 20:26 UTC (permalink / raw
To: gentoo-commits
commit: bc61f69c72a610a3703f7a0035b3f922fc735ffb
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Dec 12 12:17:18 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Dec 12 20:25:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc61f69c
www-apps/gotosocial: add 0.6.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 2 +
www-apps/gotosocial/gotosocial-0.6.0.ebuild | 92 +++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index 2fc71ad07..186db0ac2 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,2 +1,4 @@
DIST gotosocial-0.5.2-source-code.tar.gz 52861407 BLAKE2B 9e80373fe66a05e57d98b3c241f10d46d66000fab388a2e4622212c0b2d615f0ece877fbc0a9d64164784f4d04e97b422de7a3a7cd3facbd1bf99bef2d6200d5 SHA512 fa6be579f34084708f6101a2ff36f0b009819d5c3955ebe3801a97a159e64776134346e06f9403e188de01b7fd82ea475eecd016692a102146acba6a6a68e660
+DIST gotosocial-0.6.0-source-code.tar.gz 43407289 BLAKE2B 5b04c28170adb410ebe65a4841adf703b3ac28f9b91ab8c3f4a6f92383948743e6aa4e0a1e5a678a6de3ffd7782b90790361a74eec27fe3b7f06e8a20e28eabf SHA512 de66f5701d666f917428353904ac51d2e5271c826e52bd1fc72cd3544dd052adbe4bb3ca635c170e8eae8ddb15226229922da3ab12d5f2ac74a4ec0b86bbb238
DIST gotosocial_0.5.2_web-assets.tar.gz 1603916 BLAKE2B 9fc36982e83100a6566afc0bb7e78cf5bae2a979a7798b898fb5a6ab65ecdfdcde92c73a6f91ca2291a3ea2198f4f0638d6ae8c83b227b4a33f5f9fd5e9df472 SHA512 e7798f2f80968f5007328adce1b00038f2aaae7b6cf1f24c7961065b1c96a2891b867cf69cf0a6c851bcd60cd57c736f0ca60e6707a07f4336b2445f53cf922e
+DIST gotosocial_0.6.0_web-assets.tar.gz 1630400 BLAKE2B 09e4b12de2cc4b0fcb8839ce3fbdb335bbcce6006bffae3b10032775248daaef629a5bb102b1c79c2ad1fd291c7f43947efe542f44a8dbf6d7737fb65cf6e7aa SHA512 6f137d9fedffe35d80155f7cf647286ba031851a07e9d9b3e8b244399d0222e6fb728155c9fc451dc18ecf328ad458130a3eb7ab3be92071dcfb9b7b590122cd
diff --git a/www-apps/gotosocial/gotosocial-0.6.0.ebuild b/www-apps/gotosocial/gotosocial-0.6.0.ebuild
new file mode 100644
index 000000000..e847209b8
--- /dev/null
+++ b/www-apps/gotosocial/gotosocial-0.6.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-render-swagger-plugin"
+PYTHON_COMPAT=( python3_{8..11} )
+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="https://github.com/superseriousbusiness/${PN}"
+SRC_URI="
+ ${GH}/releases/download/v${PV}/${P}-source-code.tar.gz
+ ${GH}/releases/download/v${PV}/${PN}_${PV}_web-assets.tar.gz
+"
+S="${WORKDIR}"
+
+LICENSE="|| ( WTFPL CC0-1.0 ) AGPL-3 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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_compile() {
+ local myargs=(
+ -trimpath
+ -ldflags "-X main.Version=${PV}"
+ -tags netgo,osusergo,static_build,kvformat
+ )
+
+ local -x CGO_ENABLED=0
+ 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 CGO_ENABLED=0
+
+ local myargs=(
+ -tags netgo,osusergo,static_build,kvformat
+ -count 1
+ )
+ ego test "${myargs[@]}" ./...
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2022-12-27 20:40 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2022-12-27 20:40 UTC (permalink / raw
To: gentoo-commits
commit: 85d0e04618e80626b435b8b01653ebb8872e5f95
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec 27 19:42:30 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 27 20:40:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85d0e046
www-apps/gotosocial: add missing dep
Closes: https://bugs.gentoo.org/886049
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../{gotosocial-0.6.0.ebuild => gotosocial-0.6.0-r1.ebuild} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www-apps/gotosocial/gotosocial-0.6.0.ebuild b/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
similarity index 96%
rename from www-apps/gotosocial/gotosocial-0.6.0.ebuild
rename to www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
index e847209b8..b8d68453d 100644
--- a/www-apps/gotosocial/gotosocial-0.6.0.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
@@ -24,7 +24,10 @@ LICENSE="|| ( WTFPL CC0-1.0 ) AGPL-3 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
-RDEPEND="acct-user/gotosocial"
+DEPEND="dev-db/sqlite:3"
+RDEPEND="${DEPEND}
+ acct-user/gotosocial
+"
DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md )
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-01-18 20:48 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-01-18 20:48 UTC (permalink / raw
To: gentoo-commits
commit: ed3aae45c7870be45e22d22fb38f7f3957a6a51b
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jan 18 20:47:41 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jan 18 20:47:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed3aae45
www-apps/gotosocial: update LICENSE
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild b/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
index b8d68453d..f4941ff0d 100644
--- a/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.6.0-r1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
"
S="${WORKDIR}"
-LICENSE="|| ( WTFPL CC0-1.0 ) AGPL-3 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
+LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-02-25 19:51 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-02-25 19:51 UTC (permalink / raw
To: gentoo-commits
commit: 4e7a869dba8f6cf2c00a9e8796ab46b7463f7d37
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 25 19:45:58 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 25 19:46:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e7a869d
www-apps/gotosocial: add missing docs dep
Closes: https://bugs.gentoo.org/896196
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.7.1.ebuild | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
index b95336b5e..ab55a004b 100644
--- a/www-apps/gotosocial/gotosocial-0.7.1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
@@ -3,9 +3,12 @@
EAPI=8
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-render-swagger-plugin"
PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND=(
+ dev-python/mkdocs-material
+ dev-python/mkdocs-render-swagger-plugin
+)
inherit python-any-r1 docs go-module systemd tmpfiles
DESCRIPTION="Fast, fun, ActivityPub server, powered by Go"
@@ -13,14 +16,14 @@ HOMEPAGE="
https://gotosocial.org/
https://github.com/superseriousbusiness/gotosocial
"
-GH="https://github.com/superseriousbusiness/${PN}"
+GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}"
SRC_URI="
- ${GH}/releases/download/v${PV}/${P}-source-code.tar.gz
- ${GH}/releases/download/v${PV}/${PN}_${PV}_web-assets.tar.gz
+ ${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 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0"
+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"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-02-25 21:15 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-02-25 21:15 UTC (permalink / raw
To: gentoo-commits
commit: ce6459f16b313ca129e5f5f974ad111eb4602ae2
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 25 20:45:04 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 25 20:47:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce6459f1
www-apps/gotosocial: drop silly thing
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
index ab55a004b..1c68e65f3 100644
--- a/www-apps/gotosocial/gotosocial-0.7.1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
@@ -76,7 +76,7 @@ src_test() {
GOFLAGS="${GOFLAGS//-v/}"
GOFLAGS="${GOFLAGS//-x/}"
- ego test -vet off ./... | tee /dev/null
+ ego test -vet off ./...
}
src_install() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-02-26 17:53 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-02-26 17:53 UTC (permalink / raw
To: gentoo-commits
commit: f1af8534bb6bf162130f8e561c90df266c8f3865
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 26 17:52:35 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb 26 17:52:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1af8534
www-apps/gotosocial: fix docs deps
Closes: https://bugs.gentoo.org/897776
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.7.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
index 1c68e65f3..f98fb2914 100644
--- a/www-apps/gotosocial/gotosocial-0.7.1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
@@ -8,6 +8,7 @@ DOCS_BUILDER="mkdocs"
DOCS_DEPEND=(
dev-python/mkdocs-material
dev-python/mkdocs-render-swagger-plugin
+ dev-python/regex
)
inherit python-any-r1 docs go-module systemd tmpfiles
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-02-28 10:15 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-02-28 10:15 UTC (permalink / raw
To: gentoo-commits
commit: 253d61ba67cd335b904c5d63ce6e64630d72a416
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb 28 10:14:04 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Feb 28 10:14:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=253d61ba
www-apps/gotosocial: fix docs deps
Closes: https://bugs.gentoo.org/898216
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
index f98fb2914..f3d6956fb 100644
--- a/www-apps/gotosocial/gotosocial-0.7.1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{9..11} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND=(
dev-python/mkdocs-material
- dev-python/mkdocs-render-swagger-plugin
+ dev-python/mkdocs-swagger-ui-tag
dev-python/regex
)
inherit python-any-r1 docs go-module systemd tmpfiles
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-03-07 14:03 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-03-07 14:03 UTC (permalink / raw
To: gentoo-commits
commit: 3e1f16a54e96b43d2959a55715f4033bfe7b0afe
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Mar 7 13:12:10 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Mar 7 13:12:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e1f16a5
www-apps/gotosocial: add missing deps for docs
Closes: https://bugs.gentoo.org/899996
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.7.1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
index f3d6956fb..ab8204997 100644
--- a/www-apps/gotosocial/gotosocial-0.7.1.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.7.1.ebuild
@@ -8,7 +8,9 @@ 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-04-10 14:18 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-04-10 14:18 UTC (permalink / raw
To: gentoo-commits
commit: e7d39cb14fb10dc2010f07ef9ca528cccd5bfb48
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Apr 10 14:17:50 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Apr 10 14:18:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7d39cb1
www-apps/gotosocial: add 0.8.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 2 +
www-apps/gotosocial/gotosocial-0.8.0.ebuild | 102 ++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index d3c0722e7..8c4f1204a 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,2 +1,4 @@
DIST gotosocial-0.7.1-source-code.tar.gz 50913308 BLAKE2B 90daac4c7250313965b01504e806559c98b1785b81b44b5254f8ad54da16d56c1174ac0b4be52a3a4b4ff68d2e19e340e8fb67490ca9093d7c452030eb1e3d69 SHA512 0c3c71eb66126f8b4e3c617e9ca27cb824d181d4dd22ab0aeb2851a6a6754d736a8a8245db4da9c3f51341b73fcc863b7a482da3dfbd54f0387f9842f84e70a0
+DIST gotosocial-0.8.0-source-code.tar.gz 52503432 BLAKE2B 34f12afc5d1e51bbc2bb6e7b66aed79dd5a659357d711cf5c0432d11351d986c7ac33635be75ca8be20dbaaf1c570c9a00ca5603e0257d3b3dc2238b0f1ac462 SHA512 b3bbb160e039ddc8e36165bd39e6d633d719d6bed49a9c8a3e0a2bd8d272c42940132126b076a8dd8998cf2497c888f033baf6f23b44901c3f270efa87db6ba4
DIST gotosocial_0.7.1_web-assets.tar.gz 1314903 BLAKE2B 9f27eadff51615d44d3cae3ce58302b2e0a2b56706429b2696df08d8385b0d8049f2a1caa9da5f169dcef5b61b2798bc863d3d780514df703a6bda99ba758df7 SHA512 6709aa5cbfe2a7077d2ea3291fbe2f246153d7a6ebfb49d8d369cb39c7620f47a9ec857d82581243ad59970c48854a944741e697d915fb1d9deb45ed8fed333d
+DIST gotosocial_0.8.0_web-assets.tar.gz 1306945 BLAKE2B eaf9286865c76fc73b9c471551264b1009fb3a6f6fa0d93a51a62092d3249259e5aa488eedf2c959b4c5e035b54f713577022ea299635d1ffa94f5670dc75a7f SHA512 d2d54627adf2e28f5cd8e85322db7279f280ef34e83b8118b608851ffe55801e39679d63273a6f997262b3352f499299b19e2698d5c6ebb28b63bfb0dbbf326c
diff --git a/www-apps/gotosocial/gotosocial-0.8.0.ebuild b/www-apps/gotosocial/gotosocial-0.8.0.ebuild
new file mode 100644
index 000000000..ab8204997
--- /dev/null
+++ b/www-apps/gotosocial/gotosocial-0.8.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..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
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-04-21 18:52 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-04-21 18:52 UTC (permalink / raw
To: gentoo-commits
commit: d706a800ea22853a40719a5617c346d57570b9e7
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Apr 20 17:35:05 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Apr 21 18:05:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d706a800
www-apps/gotosocial: add 0.8.1, drop 0.7.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 4 ++--
.../gotosocial/{gotosocial-0.7.1.ebuild => gotosocial-0.8.1.ebuild} | 0
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index 8c4f1204a..2b9c54dc5 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,4 +1,4 @@
-DIST gotosocial-0.7.1-source-code.tar.gz 50913308 BLAKE2B 90daac4c7250313965b01504e806559c98b1785b81b44b5254f8ad54da16d56c1174ac0b4be52a3a4b4ff68d2e19e340e8fb67490ca9093d7c452030eb1e3d69 SHA512 0c3c71eb66126f8b4e3c617e9ca27cb824d181d4dd22ab0aeb2851a6a6754d736a8a8245db4da9c3f51341b73fcc863b7a482da3dfbd54f0387f9842f84e70a0
DIST gotosocial-0.8.0-source-code.tar.gz 52503432 BLAKE2B 34f12afc5d1e51bbc2bb6e7b66aed79dd5a659357d711cf5c0432d11351d986c7ac33635be75ca8be20dbaaf1c570c9a00ca5603e0257d3b3dc2238b0f1ac462 SHA512 b3bbb160e039ddc8e36165bd39e6d633d719d6bed49a9c8a3e0a2bd8d272c42940132126b076a8dd8998cf2497c888f033baf6f23b44901c3f270efa87db6ba4
-DIST gotosocial_0.7.1_web-assets.tar.gz 1314903 BLAKE2B 9f27eadff51615d44d3cae3ce58302b2e0a2b56706429b2696df08d8385b0d8049f2a1caa9da5f169dcef5b61b2798bc863d3d780514df703a6bda99ba758df7 SHA512 6709aa5cbfe2a7077d2ea3291fbe2f246153d7a6ebfb49d8d369cb39c7620f47a9ec857d82581243ad59970c48854a944741e697d915fb1d9deb45ed8fed333d
+DIST gotosocial-0.8.1-source-code.tar.gz 52503983 BLAKE2B 388781cd5323c97eda6a6a92e3752d56d0bc648e4a3e1e0193df2f68ee3ec492405148655f6fbc0470296496cca521e088b3535ff3659adf2920696a91daa321 SHA512 d0bb785ec7617edbd5409b48138d5b3bcd201533e951bfff228ca7ddfa620970bf5a648e8e0fc9aeb654536974ddcda4556ee440f38d01a3c53900df7abd44ed
DIST gotosocial_0.8.0_web-assets.tar.gz 1306945 BLAKE2B eaf9286865c76fc73b9c471551264b1009fb3a6f6fa0d93a51a62092d3249259e5aa488eedf2c959b4c5e035b54f713577022ea299635d1ffa94f5670dc75a7f SHA512 d2d54627adf2e28f5cd8e85322db7279f280ef34e83b8118b608851ffe55801e39679d63273a6f997262b3352f499299b19e2698d5c6ebb28b63bfb0dbbf326c
+DIST gotosocial_0.8.1_web-assets.tar.gz 1306946 BLAKE2B 82f5a9b2b8b3dcfcaa8ecfbd806b24bc885d9d139d12defb8c155bf8c621c7263519f8bf7f3e89870131b63900a15a1b660206aeb8871bfffe430c21f4fb308e SHA512 9c8e226b950448c0b66379a71ef0c97f72386999294b1b465780f162a2f619a7061221bc5c43c3aa7bc27deffaee557b05f57666304ac7901f000c07cdac7687
diff --git a/www-apps/gotosocial/gotosocial-0.7.1.ebuild b/www-apps/gotosocial/gotosocial-0.8.1.ebuild
similarity index 100%
rename from www-apps/gotosocial/gotosocial-0.7.1.ebuild
rename to www-apps/gotosocial/gotosocial-0.8.1.ebuild
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-05-28 12:32 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-05-28 12:32 UTC (permalink / raw
To: gentoo-commits
commit: 065b3ebabf5d99cf406591434755d11c3df95d40
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun May 28 12:32:15 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun May 28 12:32:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=065b3eba
www-apps/gotosocial: add 0.9.0, drop 0.8.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 4 ++--
.../gotosocial/{gotosocial-0.8.0.ebuild => gotosocial-0.9.0.ebuild} | 0
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index 2b9c54dc5..293b7dbe2 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,4 +1,4 @@
-DIST gotosocial-0.8.0-source-code.tar.gz 52503432 BLAKE2B 34f12afc5d1e51bbc2bb6e7b66aed79dd5a659357d711cf5c0432d11351d986c7ac33635be75ca8be20dbaaf1c570c9a00ca5603e0257d3b3dc2238b0f1ac462 SHA512 b3bbb160e039ddc8e36165bd39e6d633d719d6bed49a9c8a3e0a2bd8d272c42940132126b076a8dd8998cf2497c888f033baf6f23b44901c3f270efa87db6ba4
DIST gotosocial-0.8.1-source-code.tar.gz 52503983 BLAKE2B 388781cd5323c97eda6a6a92e3752d56d0bc648e4a3e1e0193df2f68ee3ec492405148655f6fbc0470296496cca521e088b3535ff3659adf2920696a91daa321 SHA512 d0bb785ec7617edbd5409b48138d5b3bcd201533e951bfff228ca7ddfa620970bf5a648e8e0fc9aeb654536974ddcda4556ee440f38d01a3c53900df7abd44ed
-DIST gotosocial_0.8.0_web-assets.tar.gz 1306945 BLAKE2B eaf9286865c76fc73b9c471551264b1009fb3a6f6fa0d93a51a62092d3249259e5aa488eedf2c959b4c5e035b54f713577022ea299635d1ffa94f5670dc75a7f SHA512 d2d54627adf2e28f5cd8e85322db7279f280ef34e83b8118b608851ffe55801e39679d63273a6f997262b3352f499299b19e2698d5c6ebb28b63bfb0dbbf326c
+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.0.ebuild b/www-apps/gotosocial/gotosocial-0.9.0.ebuild
similarity index 100%
rename from www-apps/gotosocial/gotosocial-0.8.0.ebuild
rename to www-apps/gotosocial/gotosocial-0.9.0.ebuild
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-06-17 8:34 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-06-17 8:34 UTC (permalink / raw
To: gentoo-commits
commit: e1eda0f5bee47aa4153859a2bbd93bccd6635ecb
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jun 17 08:09:57 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Jun 17 08:10:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1eda0f5
www-apps/gotosocial: disable mkdocs
Closes: https://bugs.gentoo.org/900354
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/gotosocial-0.9.0.ebuild | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/www-apps/gotosocial/gotosocial-0.9.0.ebuild b/www-apps/gotosocial/gotosocial-0.9.0.ebuild
index 948ff2c42..902fcc9ad 100644
--- a/www-apps/gotosocial/gotosocial-0.9.0.ebuild
+++ b/www-apps/gotosocial/gotosocial-0.9.0.ebuild
@@ -3,16 +3,7 @@
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
+inherit go-module systemd tmpfiles
DESCRIPTION="Fast, fun, ActivityPub server, powered by Go"
HOMEPAGE="
@@ -67,8 +58,6 @@ src_compile() {
)
ego build "${myargs[@]}" ./cmd/gotosocial
-
- use doc && docs_compile
}
src_test() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-06-17 8:35 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-06-17 8:35 UTC (permalink / raw
To: gentoo-commits
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
-}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/
@ 2023-07-23 21:43 Anna Vyalkova
0 siblings, 0 replies; 15+ messages in thread
From: Anna Vyalkova @ 2023-07-23 21:43 UTC (permalink / raw
To: gentoo-commits
commit: 1d43088d0247a081b37138b29295f5318fe187b3
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jul 23 21:35:06 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jul 23 21:43:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d43088d
www-apps/gotosocial: add 0.10.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/gotosocial/Manifest | 2 +
www-apps/gotosocial/gotosocial-0.10.0.ebuild | 88 ++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest
index 234c4529a..0153a5c1a 100644
--- a/www-apps/gotosocial/Manifest
+++ b/www-apps/gotosocial/Manifest
@@ -1,2 +1,4 @@
+DIST gotosocial-0.10.0-source-code.tar.gz 55714610 BLAKE2B 5db1bb11d799cc85e7667c205a19df88b901598dfa64cb2b10c58ee6ea327cf5d2e74cba58312d5b7444200ca8a6866b6305008e41775f2906db8faddb078b92 SHA512 fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4
DIST gotosocial-0.9.0-source-code.tar.gz 55117728 BLAKE2B e9a02e3d6b27d242db3a239e95653973a498b67e606824d8a2ff141498b8bbf6be0f434d96abad2129e7ca4dab379b815ac04749e036caf0963d6160508768bd SHA512 7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c
+DIST gotosocial_0.10.0_web-assets.tar.gz 1362405 BLAKE2B 78168bcffbc5081cfb81ddcba314d3aa58e41fd115303997306495ad79c5d6fa3d2540b1d4da87e43cf7c4f62e737a859c5bdf2959d60371e25125dd21567f9e SHA512 4a6b2248969e9e254764e4b03fa6d7d884d74da8b25665feebca117eeeeae3aa3dc8fca995ca7c939f6437aa35b7d09dbd824727c7d0a7a4745db29916ab74be
DIST gotosocial_0.9.0_web-assets.tar.gz 1357671 BLAKE2B aeab657eb72db5178287afd75b6c1d06238f8c769f3bfc21cf6249b8eed468b7009b2401c64aca22964ebd7a6554066a2c38d9d441a39789c731faa6e9c17c29 SHA512 0d83b093ab8f45ae8ed3eebcf1aed66b27a5d996e5c0dc30e16cc99a881b7e2b333ba4cf4fd78486c42b3bef9245d1ba89743a87ae0f969e8be6a756cf1dcfc6
diff --git a/www-apps/gotosocial/gotosocial-0.10.0.ebuild b/www-apps/gotosocial/gotosocial-0.10.0.ebuild
new file mode 100644
index 000000000..6318d2cc0
--- /dev/null
+++ b/www-apps/gotosocial/gotosocial-0.10.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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"
+
+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
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-07-23 21:43 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 17:53 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/gotosocial/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2023-07-23 21:43 Anna Vyalkova
2023-06-17 8:35 Anna Vyalkova
2023-06-17 8:34 Anna Vyalkova
2023-05-28 12:32 Anna Vyalkova
2023-04-21 18:52 Anna Vyalkova
2023-04-10 14:18 Anna Vyalkova
2023-03-07 14:03 Anna Vyalkova
2023-02-28 10:15 Anna Vyalkova
2023-02-25 21:15 Anna Vyalkova
2023-02-25 19:51 Anna Vyalkova
2023-01-18 20:48 Anna Vyalkova
2022-12-27 20:40 Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-11-21 20:12 Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox