From 45219c7455b2c8bce47bdf428b44a6a38d6ce521 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 Jul 2023 08:50:23 +0100 Subject: gentoo auto-resync : 22:07:2023 - 08:50:23 --- dev-python/virtualenvwrapper/Manifest | 2 +- .../virtualenvwrapper-4.8.4_p20230121-r1.ebuild | 74 ++++++++++++++++++++++ .../virtualenvwrapper-4.8.4_p20230121.ebuild | 74 ---------------------- 3 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild delete mode 100644 dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild (limited to 'dev-python/virtualenvwrapper') diff --git a/dev-python/virtualenvwrapper/Manifest b/dev-python/virtualenvwrapper/Manifest index 2ceedca57d59..ed78d034f018 100644 --- a/dev-python/virtualenvwrapper/Manifest +++ b/dev-python/virtualenvwrapper/Manifest @@ -2,5 +2,5 @@ AUX virtualenvwrapper-4.8.4_p20230121-remove-use-of-which.patch 4608 BLAKE2B 06a DIST virtualenvwrapper-4.8.4.tar.gz 334920 BLAKE2B cd790b1e98cca7d09ea9c80df5d52380335d4a0ea4e6d95f7bd48d78583e0d842e1145ea08d8d8c73516adbe8d6c75bd53c17943723f859860a0cad105a2b058 SHA512 461938100061e11af0ee9b17405d991ae34e5ec9c79cc12614962d3178b588a2da710baa15ac626960b09177c1b5b10c7bc590cb4c126ebd2f719d0f1527c9c4 DIST virtualenvwrapper-4.8.4_p20230121.gh.tar.gz 72852 BLAKE2B 2996b88f93790587ffbeed936334bb1f12a9d6d952eb7c9b728a6644c9b7c7e0953bc7c71201fbd590f6258eb163af1aa6494f476decfa54f095ca215e4e13e1 SHA512 9df8b20dd8d50fe7891b845c8112edc165b08cc231ebb4010aed8ec50a22005207a9a3c9c9941daa2b958022f0edf993425bf95692f7032d1e5c5719a552d3b4 EBUILD virtualenvwrapper-4.8.4-r2.ebuild 1119 BLAKE2B d39f18ee010076da6c38b0a90be3607be1fec03282d9e9d2c56a47f27ff147364e97cd37229ef6cfe5fff85971c5bb6cc086317ef1dee3bba76872c63785a70a SHA512 169729c101a2cae2770eb5b17391f6a37ae3069494693579b9a660cfddbe8c944357a37876746894d563444671f3367810da24a76d0c45a9f77abdef1809feaa -EBUILD virtualenvwrapper-4.8.4_p20230121.ebuild 1850 BLAKE2B d86513e6abf367b1532bcf3a8046459b330470ae5f76f540cf9f0c1ca5a2751fd7c4d701eef5afb95ba353df7ec0b49da1e2a31882b1cdaec7b3b79dddd36611 SHA512 2594aed571e36326d72206e1432bf02303114b2948fcc95024889bcdb578105c5467583583ef8ba74d261aa68c3ad382d8abc20175f5dc29e861d94db75c4704 +EBUILD virtualenvwrapper-4.8.4_p20230121-r1.ebuild 1862 BLAKE2B 3c66a1de950e9158bbcac408ab1836cf73e73582f3be65d3ae1a151881e358b8e8745def08cbfef7d32eee48988df6229747a1b705373def624e4536f992d0c4 SHA512 fc2c0fba1b37203711617766070590cb377290271409c548b5e59a5fcd5b3af3d5f82273c6505e93e1b99e9231e6dbebf6103ad3625aca97f5329aa9c404d5d4 MISC metadata.xml 732 BLAKE2B fa857378ea2001e084a9d00d5ccc65644cc4e3ade62c04ff7dfeec4cf7df245bd700833aec1f5f430d780be5adb8fb594300e43a113b232fa83a3cfd2fa0cb15 SHA512 935796e3055e0104328dab877ca92e579770d6748053e464f6ce3563ea49022eaeae322c5c9cb026e9c3f42089c89ae06c0a2e755d124c71e05768cbbefdda44 diff --git a/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild b/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild new file mode 100644 index 000000000000..080fc0b55799 --- /dev/null +++ b/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Set of extensions to Ian Bicking's virtualenv tool" +HOMEPAGE=" + https://github.com/python-virtualenvwrapper/virtualenvwrapper + https://pypi.org/project/virtualenvwrapper/ +" + +COMMIT="e63d2c389ed276aa161bb50a27c77af94d96a50c" +SRC_URI=" + https://github.com/python-virtualenvwrapper/virtualenvwrapper/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT}" + +export PBR_VERSION="${PV/_p/.post}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] + dev-python/virtualenv-clone[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/pbr[${PYTHON_USEDEP}] + ') +" + +PATCHES=( + "${FILESDIR}/virtualenvwrapper-${PV}-remove-use-of-which.patch" +) + +src_prepare() { + default + + # specify default python interpeter to align with PYTHON_SINGLE_TARGET + sed -i -e \ + "s|\(_virtualenvwrapper_python_executable=\"\$(\).\w\((\"\)|\1command -v ${EPYTHON}\2|" \ + virtualenvwrapper.sh || die + + # remove tests which require an internet connection + rm tests/test_mkvirtualenv_install.sh || die + rm tests/test_mkvirtualenv_requirements.sh || die + + # remove tests which require functional git repos with remotes + sed -i -e '/test_wipeenv_\(pip_e\|develop\) () {/,/}/ d' tests/test_wipeenv.sh || die +} + +python_test() { + # tests have unusual expectations + local -x HOME="${HOME%/}" + local -x USER="${USER}" + + cp -a "${BUILD_DIR}"/{install/usr,test} || die + local -x VIRTUAL_ENV="${BUILD_DIR}/test" + + bash ./tests/run_tests "${VIRTUAL_ENV}" || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild b/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild deleted file mode 100644 index 106b7a037d89..000000000000 --- a/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Set of extensions to Ian Bicking's virtualenv tool" -HOMEPAGE=" - https://github.com/python-virtualenvwrapper/virtualenvwrapper - https://pypi.org/project/virtualenvwrapper/ -" - -COMMIT="e63d2c389ed276aa161bb50a27c77af94d96a50c" -SRC_URI=" - https://github.com/python-virtualenvwrapper/virtualenvwrapper/archive/${COMMIT}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${PN}-${COMMIT}" - -export PBR_VERSION="${PV/_p/.post}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/stevedore[${PYTHON_USEDEP}] - dev-python/virtualenv-clone[${PYTHON_USEDEP}] - ') -" -BDEPEND=" - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/pbr[${PYTHON_USEDEP}] - ') -" - -PATCHES=( - "${FILESDIR}/virtualenvwrapper-${PV}-remove-use-of-which.patch" -) - -src_prepare() { - default - - # specify default python interpeter to align with PYTHON_SINGLE_TARGET - sed -i -e \ - "s|\(_virtualenvwrapper_python_executable=\"\)\$(.*)\(\"\)|\1${EPYTHON}\2|" \ - virtualenvwrapper.sh || die - - # remove tests which require an internet connection - rm tests/test_mkvirtualenv_install.sh || die - rm tests/test_mkvirtualenv_requirements.sh || die - - # remove tests which require functional git repos with remotes - sed -i -e '/test_wipeenv_\(pip_e\|develop\) () {/,/}/ d' tests/test_wipeenv.sh || die -} - -python_test() { - # tests have unusual expectations - local -x HOME="${HOME%/}" - local -x USER="${USER}" - - cp -a "${BUILD_DIR}"/{install/usr,test} || die - local -x VIRTUAL_ENV="${BUILD_DIR}/test" - - bash ./tests/run_tests "${VIRTUAL_ENV}" || die "Tests failed under ${EPYTHON}" -} -- cgit v1.2.3