diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-24 07:46:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-24 09:06:50 +0200 |
commit | 49a78a63650867e625607e4360bc2f2d8dd10cfd (patch) | |
tree | 0c402fd8ce155cd9b806bd30c414877b94226c51 /app-text | |
parent | app-text/htmlmin: Fix src_prepare() (diff) | |
download | gentoo-49a78a63650867e625607e4360bc2f2d8dd10cfd.tar.gz gentoo-49a78a63650867e625607e4360bc2f2d8dd10cfd.tar.bz2 gentoo-49a78a63650867e625607e4360bc2f2d8dd10cfd.zip |
app-text/htmlmin: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/htmlmin/Manifest | 2 | ||||
-rw-r--r-- | app-text/htmlmin/htmlmin-0.1.12.ebuild | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app-text/htmlmin/Manifest b/app-text/htmlmin/Manifest index 5ebcb4ee5c54..7776b73b67a8 100644 --- a/app-text/htmlmin/Manifest +++ b/app-text/htmlmin/Manifest @@ -1 +1 @@ -DIST htmlmin-0.1.12.tar.gz 19940 BLAKE2B 66e9596f687b70fa44362078075cb5f70553e65a7a1a6c55a4abac6adc5d0821b8936507cbb56f4e8ea96575a8801ec341416fead54b18ff9e10d199ed506529 SHA512 5669327dc64d8d28accdfe0d9a222e723fccdc12b52e7f0315fb9caf958a734a0cf0514ad476cbd0b7d0f2d83514a207867127f135f5e51cfda9b15dbfe24b78 +DIST htmlmin-0.1.12.gh.tar.gz 134130 BLAKE2B 5a9996bfea469f273c37bd0bd72c0e27b8636cb4552681de1b7e9a4849ab215815f7fc8ce430392b8ca3a849b3e51d8188ca248a8ce23242905799258ceeae29 SHA512 6d9db4b6bcdd6d223be8b4e3830da4d63ac6d7d28ee83abd97809b0b901968c994c8434c992fbdd148101ba25d8d786c93657cb5f82881af44dadbba40bf3252 diff --git a/app-text/htmlmin/htmlmin-0.1.12.ebuild b/app-text/htmlmin/htmlmin-0.1.12.ebuild index a2c7d0741a07..8a3fcf08008f 100644 --- a/app-text/htmlmin/htmlmin-0.1.12.ebuild +++ b/app-text/htmlmin/htmlmin-0.1.12.ebuild @@ -8,14 +8,20 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 +# upstream doesn't do tags much +EGIT_COMMIT=220b1d16442eb4b6fafed338ee3b61f698a01e63 DESCRIPTION="A configurable HTML Minifier with safety features" HOMEPAGE="https://github.com/mankyd/htmlmin" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI=" + https://github.com/mankyd/htmlmin/archive/${EGIT_COMMIT}.tar.gz + -> ${P}.gh.tar.gz" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" + +distutils_enable_tests setup.py src_prepare() { sed '/prune/d' -i MANIFEST.in || die |