diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
commit | a1b20429e7e2ba1b44414459afd5a2b50788cd9c (patch) | |
tree | e721db30ecc3e534a03ab9b3115762959cc0c28c /dev-python/vcstools | |
parent | dbbd2ae5e62a232616ede4dae3ed69e15903940a (diff) |
gentoo auto-resync : 25:01:2023 - 08:07:03
Diffstat (limited to 'dev-python/vcstools')
-rw-r--r-- | dev-python/vcstools/Manifest | 4 | ||||
-rw-r--r-- | dev-python/vcstools/files/yaml.patch | 25 | ||||
-rw-r--r-- | dev-python/vcstools/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/vcstools/vcstools-0.1.42.ebuild | 57 |
4 files changed, 0 insertions, 99 deletions
diff --git a/dev-python/vcstools/Manifest b/dev-python/vcstools/Manifest deleted file mode 100644 index 7086bc78bf79..000000000000 --- a/dev-python/vcstools/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX yaml.patch 1063 BLAKE2B 33d954db0dfb7caf5db07bdc287ff8f7fdb74edad7f92ea5ae3ec1076fd02077e3c87f2d12907a6eb9e419b506bafab7ca84dd0c2ca282aa08d24eccd3054ff8 SHA512 c2fa16dd567792cf7b31e1bc3a22d647ac40f4e3302c74e61202b8cc1bdb099031029ed8090ad27d54aed7d93052cc099a6bdc2e8849194ade2db44bea44eb5d -DIST vcstools-0.1.42.tar.gz 65979 BLAKE2B 2deb29116e891bc93410e4a8f58938009140d01baaa834cccfdba2be3243d98bb11507fd134284bc1dbeca1434ea0eeaf2ed332dcb579bbacf1bc92815f8623d SHA512 1b54270c878684862eb607c2e445fe24d8edfdd8ea2cc75e899044d9e8e89a882fd2dd6fb7825553f83003ae7af08850c18fdeaabaa107a6bfdb2759b32e8fa6 -EBUILD vcstools-0.1.42.ebuild 1248 BLAKE2B 53e7c89a71bb419ef216a173319a3def6c9299f09a413ed7ef31b51ec51bda9cd0d7b85697c2065cdba7aa32fd3291d7d13084f14db6379f65e5971782b8bb04 SHA512 87e892c2a312b0cf9d8877b6f71b50819adef4b5e6a742c993431be559740edf589900d51e0eb8be6e13a2122ecdc4035fb6a1f122484d822c5c1484fd048d53 -MISC metadata.xml 402 BLAKE2B 4396bf3f04fde671260984d3d11d08891325305a4a83b3fa1a99775227de87eeb5c4a40e9e82b993f7546a65fcd5230408d6db6e317265f5c660511813e473bc SHA512 80ba7bb0fbb262d518711f23f03088871e04fc08769cb476c72681f8778f1306857217b3360b49df2524faa4a97dc4f9dab5edb6f95c9479ff02ca52b67f788f diff --git a/dev-python/vcstools/files/yaml.patch b/dev-python/vcstools/files/yaml.patch deleted file mode 100644 index 727131bc5618..000000000000 --- a/dev-python/vcstools/files/yaml.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/vcstools/vcstools/issues/158 -https://bugs.gentoo.org/698668 - -Index: vcstools-0.1.42/src/vcstools/tar.py -=================================================================== ---- vcstools-0.1.42.orig/src/vcstools/tar.py -+++ vcstools-0.1.42/src/vcstools/tar.py -@@ -77,7 +77,7 @@ class TarClient(VcsClientBase): - """ - if self.detect_presence(): - with open(self.metadata_path, 'r') as metadata_file: -- metadata = yaml.load(metadata_file.read()) -+ metadata = yaml.full_load(metadata_file.read()) - if 'url' in metadata: - return metadata['url'] - return None -@@ -165,7 +165,7 @@ class TarClient(VcsClientBase): - - if self.detect_presence(): - with open(self.metadata_path, 'r') as metadata_file: -- metadata = yaml.load(metadata_file.read()) -+ metadata = yaml.full_load(metadata_file.read()) - if 'version' in metadata: - return metadata['version'] - return None diff --git a/dev-python/vcstools/metadata.xml b/dev-python/vcstools/metadata.xml deleted file mode 100644 index 4a8bec5b97bd..000000000000 --- a/dev-python/vcstools/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ros@gentoo.org</email> - <name>Gentoo ROS Project</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">vcstools/vcstools</remote-id> - <remote-id type="pypi">vcstools</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/vcstools/vcstools-0.1.42.ebuild b/dev-python/vcstools/vcstools-0.1.42.ebuild deleted file mode 100644 index 012d6036c411..000000000000 --- a/dev-python/vcstools/vcstools-0.1.42.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python library for interacting with various VCS systems" -HOMEPAGE="https://wiki.ros.org/vcstools" -SRC_URI=" - http://download.ros.org/downloads/${PN}/${P}.tar.gz - https://github.com/vcstools/vcstools/archive/${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm" - -RDEPEND=" - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] -" -BDEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-vcs/git - dev-vcs/mercurial - dev-vcs/subversion - ) -" - -PATCHES=( "${FILESDIR}/yaml.patch" ) - -distutils_enable_tests nose - -src_prepare() { - # Those fail because of broken upstream testing - rm test/test_bzr.py || die - sed -e 's/test_checkout_timeout/_&/' -i test/test_git.py || die - - distutils-r1_src_prepare -} - -src_test() { - # From travis.yml - # Set git config to silence some stuff in the tests - git config --global user.email "foo@example.com" || die - git config --global user.name "Foo Bar" || die - # Set the hg user - cat > ~/.hgrc <<- EOF || die - [ui] - username = Your Name <your@mail.com> - EOF - - distutils-r1_src_test -} |