diff options
Diffstat (limited to 'net-libs')
| -rw-r--r-- | net-libs/meta-srht/Manifest | 1 | ||||
| -rw-r--r-- | net-libs/meta-srht/meta-srht-0.63.5.ebuild | 86 | 
2 files changed, 0 insertions, 87 deletions
diff --git a/net-libs/meta-srht/Manifest b/net-libs/meta-srht/Manifest index 9f5d735..38534b4 100644 --- a/net-libs/meta-srht/Manifest +++ b/net-libs/meta-srht/Manifest @@ -1,2 +1 @@ -DIST meta-srht-0.63.5.tar.gz 740640 BLAKE2B 46d696e13d5cae2a732712d49acfd654cf074558f00ab5dce5531e82862a5bba70987a76ac21e193b6f82cfb295e718628305a5b3f3af1cd0208ec9cba1f8c93 SHA512 9680ea121b43dafa336df75bc037004af5055d2767be038729ba3e0c93323f34fe0ff375a21b9d42bacd0baacc7f2dae53ace0f8cd15441cb79f70c417f2b842  DIST meta-srht-0.64.4.tar.gz 739018 BLAKE2B 75f207e72c749aaff03e43d7eb2d74fb8f0c1783c18c322f7cff9ad3ed7545326be5a0f49979f9382d95e532318b1c5cb006552314afeb2ac93f64169df6ebcb SHA512 3e985af7be6661e12afb05df15418809fd16edb2625fc9c378e3b2964af316616d57eac2f76c8162fa86a7102c5953d8547e4b7021c8983359c7daf00daae9ea diff --git a/net-libs/meta-srht/meta-srht-0.63.5.ebuild b/net-libs/meta-srht/meta-srht-0.63.5.ebuild deleted file mode 100644 index 212493c..0000000 --- a/net-libs/meta-srht/meta-srht-0.63.5.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 go-module optfeature systemd - -DESCRIPTION="The central authentication and account service for sr.ht" -HOMEPAGE="https://git.sr.ht/~sircmpwn/meta.sr.ht" -SRC_URI="http://git.sr.ht/~sircmpwn/meta.sr.ht/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="network-sandbox" -IUSE="billing" - -RDEPEND="" -DEPEND="${RDEPEND} -	acct-user/meta-srht -	acct-group/meta-srht -	dev-python/dnspython[${PYTHON_USEDEP}] -	dev-python/bcrypt[${PYTHON_USEDEP}] -	dev-python/django-markdownify[${PYTHON_USEDEP}] -	dev-python/core-srht[${PYTHON_USEDEP}] -	dev-python/qrcode[${PYTHON_USEDEP}] -	dev-python/redis-py[${PYTHON_USEDEP}] -	dev-python/python-sshpubkeys[${PYTHON_USEDEP}] -	dev-python/zxcvbn[${PYTHON_USEDEP}] -	www-servers/gunicorn[${PYTHON_USEDEP}] - -	billing? ( -			 dev-python/stripe -			 dev-python/weasyprint -	) -" -BDEPEND="net-libs/nodejs -	dev-lang/sassc -	dev-lang/go -" - -S="${WORKDIR}/meta.sr.ht-${PV}" - -src_unpack() { -	default_src_unpack -} - -src_compile() { -	distutils-r1_src_compile -	cd "${S}/api" || die -	ego build -o metasrht-api -} - -src_install() { -	distutils-r1_src_install -	dobin "${S}/api/metasrht-api" -	dodir "/etc/sr.ht" -	insinto "/etc/sr.ht/" -	newins "${S}/config.example.ini" "config.example.meta.sr.ht.ini" -	doins "${FILESDIR}/meta.sr.ht.gunicorn.conf.py" -	exeinto "/etc/cron.daily" -	doexe "${FILESDIR}/meta.sr.ht.cron" -	newinitd "${FILESDIR}/meta.sr.ht.initd" "meta.sr.ht" -	newconfd "${FILESDIR}/meta.sr.ht.confd" "meta.sr.ht" -	newinitd "${FILESDIR}/meta.sr.ht-api.initd" "meta.sr.ht-api" -	newconfd "${FILESDIR}/meta.sr.ht-api.confd" "meta.sr.ht-api" -	newinitd "${FILESDIR}/meta.sr.ht-webhooks.initd" "meta.sr.ht-webhooks" -	newconfd "${FILESDIR}/meta.sr.ht-webhooks.confd" "meta.sr.ht-webhooks" -	systemd_dounit "${FILESDIR}/meta.sr.ht.service" -	systemd_dounit "${FILESDIR}/meta.sr.ht-api.service" -	systemd_dounit "${FILESDIR}/meta.sr.ht-webhooks.service" -	systemd_dounit "${FILESDIR}/meta.sr.ht-daily.service" -	systemd_dounit "${FILESDIR}/meta.sr.ht-daily.timer" - -	if use billing; then -		PYVER="$(python3 --version | cut -d. -f1-2 | cut -d' ' -f2-)" -		dodir "/usr/lib/python${PYVER}/site-packages/metasrht/" -		touch "/usr/lib/python${PYVER}/site-packages/metasrht/.billing" || die -	fi -} - -plg_postinst() { -	optfeature "daily maintenance" "virtual/cron" -}  | 
