diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-17 13:01:08 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-09-17 13:01:08 +0300 |
commit | 385af3ca29089662c40f1a0e0ca7fa1823086820 (patch) | |
tree | 2aaf286b300a1fb447f7ca314fe9ad0dfa3bfd2c /dev-python/jsmin | |
parent | app-misc/rpick: x86 stable wrt bug #813279 (diff) | |
download | gentoo-385af3ca29089662c40f1a0e0ca7fa1823086820.tar.gz gentoo-385af3ca29089662c40f1a0e0ca7fa1823086820.tar.bz2 gentoo-385af3ca29089662c40f1a0e0ca7fa1823086820.zip |
dev-python/jsmin: add 3.0.0, EAPI=8, use d_e_t
Closes: https://bugs.gentoo.org/812227
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/jsmin')
-rw-r--r-- | dev-python/jsmin/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jsmin/jsmin-3.0.0.ebuild | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/jsmin/Manifest b/dev-python/jsmin/Manifest index 4fb8f5e4959e..d3064141947a 100644 --- a/dev-python/jsmin/Manifest +++ b/dev-python/jsmin/Manifest @@ -1 +1,2 @@ DIST jsmin-2.2.2.tar.gz 12705 BLAKE2B ff14d28c753443c4a17e19b7205b739d5a177eeb8074e4b16c7ae7e5f816758e1f54e07ceddf90dde70cc2752f9dadee0dc71754b2de3343256f3b1695187bba SHA512 e4fea940d7b5e1c0d7dacad70d90a242a8ba178423c886eb60ed7a36b1fba9ca67b5118f26e9a96058b86d3f612d40a21e62cdccd5858a2012a8f222fad3277d +DIST jsmin-3.0.0.tar.gz 11519 BLAKE2B 192a3c8e325e9c3f56b39be983272a7f5d0c6e241bfff41ce3b064cfb60541d150041ee58e7c033b0afb56252573c3a6f10ff6e74658a9e7647e06672308c86f SHA512 46c42d1306fbda1d37324b514650e1ede50db40219dcb54b9b845bc91c23eeb865b2fcfec70cb44ade61439d1c4f96d35bfb15279ec25e0e39ab6023ef58c4cf diff --git a/dev-python/jsmin/jsmin-3.0.0.ebuild b/dev-python/jsmin/jsmin-3.0.0.ebuild new file mode 100644 index 000000000000..69b299b6537a --- /dev/null +++ b/dev-python/jsmin/jsmin-3.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="JavaScript minifier" +HOMEPAGE="https://pypi.org/project/jsmin/ https://github.com/tikitu/jsmin/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" + +distutils_enable_tests unittest + +src_prepare() { + sed -e 's/jsmin.is_3/True/' -i jsmin/test.py || die + distutils-r1_src_prepare +} |