diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 01:37:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 01:37:06 +0000 |
| commit | 217889932ab486b46fce3dbf715f100b324236c3 (patch) | |
| tree | 9a44209cd1c032921f39ac65fcaaafa0e77be097 /dev-python/flit | |
| parent | 44ab0453a34f437c4a5ffc9a3644828f47819bca (diff) | |
| download | baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.tar.gz baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.tar.xz baldeagleos-repo-217889932ab486b46fce3dbf715f100b324236c3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/flit')
| -rw-r--r-- | dev-python/flit/flit-3.2.0.ebuild | 13 | ||||
| -rw-r--r-- | dev-python/flit/flit-3.3.0.ebuild | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild index a4425fca5a24..2e0423afed39 100644 --- a/dev-python/flit/flit-3.2.0.ebuild +++ b/dev-python/flit/flit-3.2.0.ebuild @@ -1,9 +1,8 @@ # Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -14,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" RDEPEND=" >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}] @@ -22,7 +22,7 @@ RDEPEND=" dev-python/requests_download[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] " -BDEPEND=" +BDEPEND="${RDEPEND} sys-apps/grep sys-apps/findutils test? ( @@ -39,3 +39,10 @@ distutils_enable_tests pytest distutils_enable_sphinx doc \ dev-python/sphinxcontrib-github-alt \ dev-python/pygments-github-lexers \ + +python_prepare_all() { + printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \ + "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/flit/flit-3.3.0.ebuild b/dev-python/flit/flit-3.3.0.ebuild index 7aac596e790d..e2d42fa796d6 100644 --- a/dev-python/flit/flit-3.3.0.ebuild +++ b/dev-python/flit/flit-3.3.0.ebuild @@ -16,13 +16,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - >=dev-python/flit_core-3.3.0[${PYTHON_USEDEP}] + >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}] dev-python/intreehooks[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/requests_download[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}] " -BDEPEND=" +BDEPEND="${RDEPEND} sys-apps/grep sys-apps/findutils test? ( |
