diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-08 15:45:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-08 15:45:39 +0100 |
commit | d5599da3055bf9b900513a61c3c6e4bdbb524503 (patch) | |
tree | b64a792286dd490c9d4fc2c46bbbaa64804efc61 /dev-python/brython/brython-3.11.2.ebuild | |
parent | cfeee79886441e92c8ee094e45b9bcdc9c79137a (diff) |
gentoo auto-resync : 08:06:2023 - 15:45:39
Diffstat (limited to 'dev-python/brython/brython-3.11.2.ebuild')
-rw-r--r-- | dev-python/brython/brython-3.11.2.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/brython/brython-3.11.2.ebuild b/dev-python/brython/brython-3.11.2.ebuild new file mode 100644 index 000000000000..b069ff4db898 --- /dev/null +++ b/dev-python/brython/brython-3.11.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit webapp python-single-r1 + +DESCRIPTION="Python 3 implementation for client-side web programming" +HOMEPAGE="http://www.brython.info" +SRC_URI=" + https://github.com/${PN}-dev/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +need_httpd_cgi + +pkg_setup() { + webapp_pkg_setup + python-single-r1_pkg_setup +} + +src_install() { + dodoc LICENCE.txt README.md + rm -v LICENCE.txt README.md bower.json .{git*,tra*} server.py || die + + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_src_install +} |