diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /dev-python/mimerender | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'dev-python/mimerender')
-rw-r--r-- | dev-python/mimerender/Manifest | 4 | ||||
-rw-r--r-- | dev-python/mimerender/mimerender-0.6.0.ebuild | 20 |
2 files changed, 16 insertions, 8 deletions
diff --git a/dev-python/mimerender/Manifest b/dev-python/mimerender/Manifest index 0ec5ad9a51b0..36d511c8f003 100644 --- a/dev-python/mimerender/Manifest +++ b/dev-python/mimerender/Manifest @@ -1,3 +1,3 @@ -DIST mimerender-0.6.0.tar.gz 5310 BLAKE2B 92ff2e9dd8544ce64eb00fea230eb5d827cdd76856eb4ec7962ab706081e4e96b97e4bbb1a9131a37d643205e92ec9afb6b2b6b462fddc025a07d201b946eef9 SHA512 0b0f452404d09860cf42b8afef96ac87d4e5b222834b2309a9aa8d4855822b988cc8daaa2a0553332786755a26ff8e65c8cd6fbd4ff390f8534f925524b4222f -EBUILD mimerender-0.6.0.ebuild 529 BLAKE2B 5c4977307613aa7249572420bfa6e97a18b598f3dce79082ad59960b07a8bf16a052b8ac39dc7a20fdda50c855823ce395a18334cc332e552b774777b66e9afb SHA512 32d5b6014a85b13f24a9bb33eb9727beb7e22d8bcad6efccf6a7ade8bc359c32df3e2a83bca286503e5a4c1e2d6af55da0cb82923f32429ef4fb22498675b4b4 +DIST mimerender-0.6.0.gh.tar.gz 16677 BLAKE2B 55db5bf97cd65de89271af8713d9dbdebab6254fa2dc62cfcd78394f4333093fdc508ad6e93f104eee2f3d8a1ceb9197353b4ca085e3b4887b4560c2c65c45f6 SHA512 68c584ba8ae608097b739078dd729bd8b5493087901ba281959abdb81d4e6052ff045c487fde4f67744b413bab36d7f938c68b162049ebe33bff642571b8fd98 +EBUILD mimerender-0.6.0.ebuild 680 BLAKE2B ebab9b871d7d4029e5e9d65a40d59ac5f7823c919b371c5b8200a8403862cbbc8a9b525b2ad68acb475ff7798d07760392a2999ef43f4c24acf0eb21a6870a5c SHA512 480829a71caf52508fa51f08a53a0d09ca2aadf7638023f5dfe03e03cf2ce8f7446702de54c8f05f6627e2d45df09beeb0ffcdc210217a526f939e5b785a3d30 MISC metadata.xml 313 BLAKE2B 0af0e6a1a8f423a445bf88ca13d771c3dc7a8e7db97d21446a5c5b7967dc232a18c1062ef01e11dfabea9fe47c36825bb2cf44bac98ef651cbfb5d941cf281ae SHA512 69420483f170abf2482ef947c26bbe7dacda158cc222464d35d18b702694b73b6205fc4d66150265962e28ba1965f7c555ea033778fb04eff73a58ef804e157d diff --git a/dev-python/mimerender/mimerender-0.6.0.ebuild b/dev-python/mimerender/mimerender-0.6.0.ebuild index 05935778d43a..9c2a32f940a6 100644 --- a/dev-python/mimerender/mimerender-0.6.0.ebuild +++ b/dev-python/mimerender/mimerender-0.6.0.ebuild @@ -1,19 +1,27 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -PYTHON_COMPAT=( python3_6 ) +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="RESTful HTTP Content Negotiation for Flask, Bottle, web.py and webapp2" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -HOMEPAGE="https://pypi.org/project/mimerender/" +HOMEPAGE=" + https://pypi.org/project/mimerender/ + https://github.com/martinblech/mimerender/" +SRC_URI=" + https://github.com/martinblech/mimerender/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" RDEPEND="dev-python/mimeparse[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest + +python_test() { + "${EPYTHON}" src/test.py -v || die "Tests fail with ${EPYTHON}" +} |