dev-python/conda-package-handling: improve ebuild

This commit is contained in:
Universebenzene authored and 梁永祥 committed 2021-11-20 22:16:52 +08:00
1 parent af709e3c69
commit 6c7fa4e9dc
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -1 +1 @@
DIST conda-package-handling-1.7.3.tar.gz 286290 BLAKE2B a1ea7bae32c42a62fd27f74b1b87dc124cb027cb48dfb8959c104863680c89d7a133ca931f54e4883ce946295e3bc1f74b07b5e0f74aee8174f9b0f7a6ed7cbd SHA512 86ce78b1a3bcaacc59d751cec09a55fa3b539a7adad3edfc6aa10665c868d14977fb045f858590f04f2f54ee9d255556494e294d23c3f61b50af34c902f7aa0c
DIST conda-package-handling-1.7.3.tar.gz 286283 BLAKE2B b26730b8df27e56e13667e944b5a2e3b323191e664261c04a4647bb10702032d46336b70e0cd3b77069f3f27d4c7f9ef04376e2ada7c1440325544e174d2eca4 SHA512 f3c3bd07ba2b725594447913029c2323c498960678888615d452abbe1e779ba3cfb9a2cbe7ea2c93aa4f0356258a3ff2be24034963aae74c348b7ad01aaa403d
@@ -1,7 +1,7 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_9 )
inherit distutils-r1
@@ -14,15 +14,15 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
DEPEND="dev-python/tqdm
dev-python/six"
DEPEND="dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
BDEPEND=""
distutils_enable_tests pytest
src_prepare() {
sed -i 's/archive_and_deps/archive/' setup.py
default
python_prepare_all() {
sed -i 's/archive_and_deps/archive/' setup.py || die
distutils-r1_python_prepare_all
}