From 0c100b7dd2b30e75b799d806df4ef899fd98e1ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Apr 2022 13:07:24 +0100 Subject: gentoo resync : 16.04.2022 --- dev-util/pkgdev/Manifest | 4 ++- dev-util/pkgdev/metadata.xml | 4 +++ dev-util/pkgdev/pkgdev-0.2.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 dev-util/pkgdev/pkgdev-0.2.0.ebuild (limited to 'dev-util/pkgdev') diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest index c2acbd2599ed..d1a96c6c48e5 100644 --- a/dev-util/pkgdev/Manifest +++ b/dev-util/pkgdev/Manifest @@ -1,4 +1,6 @@ DIST pkgdev-0.1.9.tar.gz 57093 BLAKE2B 5f5d9b4956cdc949d5e37c24160c692c32cf7e5d9fe90c167adc364993370dc42291edca048db3b0a2f17b199003aea61bd6b541bc58de1c1a084365ce517660 SHA512 78c117163549cb021e8cb9bd65e9a7752633506f3db825133fc3c4c515549c6e10dc974164489c06f94c1a1e25acb8fe050a57754353b907d6026892ef034cb2 +DIST pkgdev-0.2.0.tar.gz 59836 BLAKE2B 89de7179b1365f7f4bf1359720200bc8dba53e3b3133fead12b224db8d9a6cf7accbed3c5ed89760030efd3a992d46cf525756a522ac4d9128376e4c03b2a5e9 SHA512 6bf17e8188c809e8862c1a39ce4c0c2e60ed0a261f00bf93707257df0395b03120838247bdc7f5a3375111797564a5a6b16bb8f7e571ce957efe92e173a6ed11 EBUILD pkgdev-0.1.9.ebuild 1588 BLAKE2B 85333c27c4d55c4e226dcfee8402614336e15964b0e9c72a0707fba1ec147dddd1bea9097d729f1e445da6aca6161778a1ecf193149d8fdd341823f9b710cbc4 SHA512 89b7752b01592d67c7ee4d49fd14de38a436fe4ef05dedd6aacfa7aec830b9a48a841aacd0d9148516f0b47c4b4d776f17fba7d61da6f245a8b2f66af1467f0b +EBUILD pkgdev-0.2.0.ebuild 1595 BLAKE2B d5cf70f42f56cdca89c88952b8c21937fc0b59dc931b77513c88770f0a5a2d5460c99b913e2bf00edb3c720afddb73601a31dbdbd6af0eb0f4fa1f891a092511 SHA512 b6a5a45a6c8642fcbfcaf884c0a20817d7a7e36f208ec3b0730d21e3be237e13625a1c430c02ae37870d3bfe686ca73408d23e0cc05a937748078f98bc4e710e EBUILD pkgdev-9999.ebuild 1574 BLAKE2B dab1ff6de45f7b63c8907ec5f64e36ef67d0f5e3d9560917f7ffda2ec9051a46ec1e425c1eaf6b1ab6e0e771b2562902adb6ab0260026746773441a4591c36c1 SHA512 e055493097823f7a837db0b33524c1cdc93ae9a755f0755c7ffadce3740c76a6e95882570bd53a75c8fb64bd68404a32f0e718e81fdf21b0c98b3db4fc7f7448 -MISC metadata.xml 427 BLAKE2B cfc5af84db1d37fb76a89d107ff022c011ff6aa65d6a0b98cd36b5c0134a0f1ba05ef63866425834393bca03e3a02bc3dea5a0429e83558ce726c3f199e569bd SHA512 eeb4debf1083db5d37ff042a448b7220d5384101b477cc3afdf471195cd17fc3bc76c7a1cd6540609c96a9cd56d48221cef72342e643113b4060f168040501b5 +MISC metadata.xml 538 BLAKE2B 856860c07254a3a7d051773121d85d1e227e69dc70373a1adcef4ebe08b48e48ab5f225f528fad5cb5d82c96b9a93a9bc88c5d00248598d39954f7dabfa2972b SHA512 3ec400568986c34edd550d3f55c76fa046e43b83a95c4c302c04b9707319db42424fb4bf6a06cf6c431decada9434feb80e0c6375a2e217a56e9da4f40e97ac3 diff --git a/dev-util/pkgdev/metadata.xml b/dev-util/pkgdev/metadata.xml index 399bdc29cf92..fea86a0ce71e 100644 --- a/dev-util/pkgdev/metadata.xml +++ b/dev-util/pkgdev/metadata.xml @@ -1,6 +1,10 @@ + + arthurzam@gentoo.org + Arthur Zamarin + sam@gentoo.org Sam James diff --git a/dev-util/pkgdev/pkgdev-0.2.0.ebuild b/dev-util/pkgdev/pkgdev-0.2.0.ebuild new file mode 100644 index 000000000000..f69eaca7e6a0 --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/pkgdev.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi + +DESCRIPTION="Collection of tools for Gentoo development" +HOMEPAGE="https://github.com/pkgcore/pkgdev" + +LICENSE="BSD MIT" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + # https://github.com/pkgcore/pkgdev/blob/main/requirements/dev.txt + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}] + " +else + # https://github.com/pkgcore/pkgdev/blob/main/requirements/install.txt + RDEPEND=" + >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}] + >=dev-util/pkgcheck-0.10.0[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.0[${PYTHON_USEDEP}] + " +fi + +# Uses pytest but we want to use the setup.py runner to get generated modules +BDEPEND+="test? ( dev-python/pytest )" +RDEPEND+="dev-vcs/git" + +distutils_enable_sphinx doc +distutils_enable_tests setup.py + +python_install_all() { + # We'll generate man pages ourselves + # Revisit when a release is made + # to pregenerate them, making USE=doc + # for generating the real HTML docs only. + if use doc ; then + cd doc || die + emake man + doman _build/man/* + fi + + cd .. || die + + # HTML pages only + sphinx_compile_all + + distutils-r1_python_install_all +} -- cgit v1.2.3