www-apps/lektor: update
This commit is contained in:
parent
8896b4435e
commit
9ea08f7dc1
|
@ -1,3 +1,5 @@
|
|||
AUX lektor-static-3.1.3.tar.gz 1527235 BLAKE2B 9fab2dd3b12d973f38d31f997dccb9113e5be10873ed0cc6ae0d24760d20c8c6865fd4b2b0ac3022ad12c26d252b753d65ab0c81e78f74cb8b09e2ebe8036800 SHA512 4d4a8a842131acda83c7a47e0521741ca35120ab61476b56847de363c908c413a24459d920e11fd1d28dafd3771e371f10dfd75f55d93d5866ef71e4b8f30351
|
||||
DIST lektor-3.1.3.tar.gz 1575304 BLAKE2B 09eaaa8620d0f80b281eca6998fd206637d8017c875bcc44ad77ba20de2f2f4aaeb67b7a9ac1c192a685b4f21dd8e5d5d5a5bb40e2bb020044738b4ef3ac6fbc SHA512 cc1f008f47cc8e320b84b04df27589e470916d28234451d5d095cfba928c2d4dce8e20abded126645359cfae6977a82cb9d65c9cafb42aab7ba725032e726075
|
||||
DIST lektor-3.2.0.tar.gz 1108805 BLAKE2B 0bbe0a29dc5717482c0db5e253938fe2782326ed70dada9dab5a9ce9588e14273e3a98527c37f9b63cfeccf43b8e0c96641699b9a9111396884d474233cc0029 SHA512 c81914c7a2938132e3ad1d98ef436c57359c676af0f25d80ea691d69bbf8ee5b5f4273cefecac3103d16978c166a2e2f83dd8d31e24789596582d58b486c11ee
|
||||
EBUILD lektor-3.1.3.ebuild 1456 BLAKE2B cfdf0c804242840e494409bb60b62f9016f4616d217706eb7da66bdd661d2c7c2ace237375516724f7a9b18088fd353f15a6245dcb91ce4b7b462bba92adda34 SHA512 4d28626b109cf2224e9e5e569817cb33ecee2bad3b4d642d0d5e77c7cd596e26958998934ac8a0caee36c748764629a6d3b3662e5aeaffefd8ddb3c65965a978
|
||||
EBUILD lektor-3.2.0.ebuild 1456 BLAKE2B cfdf0c804242840e494409bb60b62f9016f4616d217706eb7da66bdd661d2c7c2ace237375516724f7a9b18088fd353f15a6245dcb91ce4b7b462bba92adda34 SHA512 4d28626b109cf2224e9e5e569817cb33ecee2bad3b4d642d0d5e77c7cd596e26958998934ac8a0caee36c748764629a6d3b3662e5aeaffefd8ddb3c65965a978
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,53 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CMS to generate a static websites"
|
||||
HOMEPAGE="https://www.getlektor.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="media-gfx/imagemagick
|
||||
<net-libs/nodejs-14[npm]
|
||||
dev-python/Babel[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/exifread[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/mistune[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/python-inifile[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS=( CHANGES LICENSE README.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unpack static webcontent, pre-compiled with (as root):
|
||||
# ebuild ${P}.ebuild unpack
|
||||
# cd /var/tmp/portage/www-apps/${P}/work/${P}
|
||||
# su -s /bin/bash -c "make build-js" portage
|
||||
# tar cfvz /tmp/${PN}-static-${PV}.tar.gz lektor/admin/static
|
||||
unpack ${FILESDIR}/${PN}-static-${PV}.tar.gz
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}"
|
||||
docompress -x "/usr/share/doc/${PF}/example"
|
||||
doins -r example
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Loading…
Reference in New Issue