blob: 6a96a7abf8ab1f9608682ea0f91c444135f620b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
PB="core.sr.ht"
BOOTSTRAPVER="4.1.1"
DESCRIPTION="sr.ht shared code"
HOMEPAGE="https://git.sr.ht/~sircmpwn/core.sr.ht"
SRC_URI="http://git.sr.ht/~sircmpwn/${PB}/archive/${PV}.tar.gz -> ${PB}.tar.gz
https://github.com/twbs/bootstrap/archive/v${BOOTSTRAPVER}.tar.gz -> bootstrap.tar.gz"
LICENSE="BSD"
SLOT="0"
#KEYWORDS="~amd64"
RESTRICT="network-sandbox"
RDEPEND="dev-python/alembic[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/bleach[${PYTHON_USEDEP}]
dev-python/celery[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
dev-python/humanize[${PYTHON_USEDEP}]
dev-python/mistletoe[${PYTHON_USEDEP}]
dev-python/PGPy[${PYTHON_USEDEP}]
dev-python/prometheus_client[${PYTHON_USEDEP}]
dev-python/psycopg:2[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/SQLAlchemy-Utils[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="net-libs/nodejs"
S="${WORKDIR}/${PB}-${PV}"
src_unpack() {
default
mv "${WORKDIR}/bootstrap-${BOOTSTRAPVER}" "${WORKDIR}/bootstrap" || die
cp -r "${WORKDIR}/bootstrap" "${S}/srht/scss" || die
}
|