diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /dev-python/build | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'dev-python/build')
-rw-r--r-- | dev-python/build/Manifest | 3 | ||||
-rw-r--r-- | dev-python/build/build-0.7.0.ebuild | 55 | ||||
-rw-r--r-- | dev-python/build/metadata.xml | 12 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/build/Manifest b/dev-python/build/Manifest new file mode 100644 index 000000000000..c18c1cc918ca --- /dev/null +++ b/dev-python/build/Manifest @@ -0,0 +1,3 @@ +DIST build-0.7.0.gh.tar.gz 37127 BLAKE2B b06ba16c154087046bd5efddb5fd6f60dad9ee79a204a0c1124fb4885d3692bcf4bd88b75c9665ade3f8457e12742d32e3cef40a0ffb5a894b049a6e942c09e3 SHA512 fd8410dc91333ba94c5141dd78f8052b66f947839752a5d0f401630f6bceed5be2e1f45eceaa2a98908c0e3ddb88a00e3ccca341a3890fa99202bc560ab6ff42 +EBUILD build-0.7.0.ebuild 1728 BLAKE2B dfe3878c5711764de0b55d9d7dabea4ffd57b0bfea096dfffb9dde5ee98061626c79d5935a6ebd9cb3b6dccd8069fe4e4d017239ef4f7a38a93308fa362e5522 SHA512 8f40b1e23d6f7cf3bdf7230c916ab9e6667faf0f1fa92c2f3b74704a5544a2c096c694d286bdb83e4bf84d3c202cdcf6cdc0ddde4ded5bd6a3cfcd4cda7dcfdf +MISC metadata.xml 361 BLAKE2B 1c46e1d83bec4a8aaedd932af700865009735ff75e3af63ef7c08f7c00883d5f658f86aec981cd48c8ef0ab0a287250a3a4fdfad42fb434f6c06d9f33f72f7d6 SHA512 89c86db40833c86e25f387c5bfa8952b62e983714be85af1e8ca2a6ef8a402b94cc32dfc18cda8d8850736aaabdb46c153743af9bcb027e86b2c1f085f6f2369 diff --git a/dev-python/build/build-0.7.0.ebuild b/dev-python/build/build-0.7.0.ebuild new file mode 100644 index 000000000000..2ed498c3c848 --- /dev/null +++ b/dev-python/build/build-0.7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 multiprocessing + +DESCRIPTION="A simple, correct PEP517 package builder" +HOMEPAGE=" + https://pypi.org/project/build/ + https://github.com/pypa/build/" +SRC_URI=" + https://github.com/pypa/build/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-19.0[${PYTHON_USEDEP}] + >=dev-python/pep517-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # broken by the presence of flit_core + tests/test_util.py::test_wheel_metadata_isolation + # broken by the presence of virtualenv (it changes the error + # messages, sic!) + tests/test_env.py::test_isolated_env_log + tests/test_main.py::test_output_env_subprocess_error + 'tests/test_main.py::test_output[via-sdist-isolation]' + 'tests/test_main.py::test_output[wheel-direct-isolation]' + # Internet + tests/test_main.py::test_build_package + tests/test_main.py::test_build_package_via_sdist + 'tests/test_util.py::test_wheel_metadata[True]' + tests/test_util.py::test_with_get_requires + ) + + epytest -p no:flaky \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/build/metadata.xml b/dev-python/build/metadata.xml new file mode 100644 index 000000000000..dfa7f7dccb22 --- /dev/null +++ b/dev-python/build/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">build</remote-id> + <remote-id type="github">pypa/build</remote-id> + </upstream> +</pkgmetadata> |