public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyyaml/
Date: Wed, 20 Jan 2021 01:35:19 +0000 (UTC)	[thread overview]
Message-ID: <1611106512.e095455ebcf69605fe4f34332176da8198e7e333.sam@gentoo> (raw)

commit:     e095455ebcf69605fe4f34332176da8198e7e333
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 01:35:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 01:35:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e095455e

dev-python/pyyaml: security bump to 5.4

Bug: https://bugs.gentoo.org/766228
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pyyaml/Manifest          |  1 +
 dev-python/pyyaml/pyyaml-5.4.ebuild | 49 +++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest
index 360375ff281..78896f1cf48 100644
--- a/dev-python/pyyaml/Manifest
+++ b/dev-python/pyyaml/Manifest
@@ -1 +1,2 @@
 DIST pyyaml-5.3.1.gh.tar.gz 168044 BLAKE2B 2acc62ecc7448925eb340c2555001c8a74bd883d720b992d6deaea890b4eac435e4ae02eb129db3a6778c0be21a231fa9d96ee8ae59a4a39bc49961e5fb0d6ab SHA512 27d97e8493c7660c7c0c471e20a8aa46c85431e4559a98bcbdafc2bd89a67fd04c6f2090e54ff6b206c868b33635ef8be68070a4c25d17a25c97fd5ad3549556
+DIST pyyaml-5.4.gh.tar.gz 173140 BLAKE2B 2ff298cce44442b8431197b9222c2fba18d4f0aaf600fe636174864096f49f1392c3e965155b36c94ad0cf659402ffbd660cea5719b509bf90e9f316c1893248 SHA512 a76f9cf1838380b2e509bf1d5251f175cca1b413aadc511517de5fb3b4743747918f94abc1cf1976171731a1ba67596def3cb0652d08e1e3af3235cf7c0a610f

diff --git a/dev-python/pyyaml/pyyaml-5.4.ebuild b/dev-python/pyyaml/pyyaml-5.4.ebuild
new file mode 100644
index 00000000000..cb18eff64eb
--- /dev/null
+++ b/dev-python/pyyaml/pyyaml-5.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="YAML parser and emitter for Python"
+HOMEPAGE="https://pyyaml.org/wiki/PyYAML
+	https://pypi.org/project/PyYAML/
+	https://github.com/yaml/pyyaml"
+SRC_URI="https://github.com/yaml/pyyaml/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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE="examples +libyaml"
+
+BDEPEND="
+	libyaml? (
+		$(python_gen_cond_dep '
+			dev-python/cython[${PYTHON_USEDEP}]
+		' 'python*')
+	)
+"
+RDEPEND="libyaml? ( dev-libs/libyaml:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	# bug #659348
+	"${FILESDIR}/pyyaml-5.1-cve-2017-18342.patch"
+)
+
+distutils_enable_tests setup.py
+
+python_configure_all() {
+	mydistutilsargs=( $(use_with libyaml) )
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	if use examples; then
+		dodoc -r examples
+		docompress -x /usr/share/doc/${PF}
+	fi
+}


             reply	other threads:[~2021-01-20  1:35 UTC|newest]

Thread overview: 140+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20  1:35 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-11-04  6:49 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyyaml/ Michał Górny
2025-11-01  8:05 Arthur Zamarin
2025-11-01  8:05 Arthur Zamarin
2025-10-31 17:58 Arthur Zamarin
2025-10-31 11:07 Sam James
2025-10-31  8:38 Arthur Zamarin
2025-09-26  5:08 Michał Górny
2025-08-19 11:50 Fabian Groffen
2025-08-14 15:23 Michał Górny
2025-08-14 15:23 Michał Górny
2025-05-11 20:03 Sam James
2025-02-16 14:46 Michał Górny
2025-02-16 14:46 Michał Górny
2024-10-16 18:32 Sam James
2024-09-12 12:27 Arthur Zamarin
2024-09-12 12:27 Arthur Zamarin
2024-09-07 14:16 Arthur Zamarin
2024-09-07 12:31 Jakov Smolić
2024-09-07 11:26 Jakov Smolić
2024-09-07 10:39 Arthur Zamarin
2024-09-07 10:20 Arthur Zamarin
2024-08-31  2:42 Ionen Wolkens
2024-08-22 18:51 Arthur Zamarin
2024-08-07 14:10 Michał Górny
2024-06-29 10:55 Sam James
2024-06-29 10:55 Sam James
2024-06-29  8:53 Sam James
2024-06-29  8:53 Sam James
2024-06-29  8:25 Sam James
2024-06-29  8:25 Sam James
2024-06-29  7:57 Arthur Zamarin
2024-06-11  3:59 Michał Górny
2024-05-11  9:07 Michał Górny
2023-08-20 17:57 Michał Górny
2023-08-20 17:49 Arthur Zamarin
2023-08-20 11:27 Sam James
2023-08-20  5:43 Sam James
2023-08-19 18:56 Arthur Zamarin
2023-08-19 18:56 Arthur Zamarin
2023-08-19 18:56 Arthur Zamarin
2023-08-19 17:53 Arthur Zamarin
2023-08-19 16:51 Arthur Zamarin
2023-07-18  6:03 Michał Górny
2023-05-25  3:18 Sam James
2023-05-24 19:03 Michał Górny
2023-05-04 16:56 Michał Górny
2022-06-17  4:54 Michał Górny
2022-06-16 23:29 Jakov Smolić
2022-06-13 16:29 Sam James
2022-06-13  7:15 Agostino Sarubbo
2022-06-13  7:13 Agostino Sarubbo
2022-06-13  7:11 Agostino Sarubbo
2022-06-13  7:10 Agostino Sarubbo
2022-06-13  7:09 Agostino Sarubbo
2022-05-11 10:04 Michał Górny
2022-05-11 10:04 Michał Górny
2021-11-22 20:14 Arthur Zamarin
2021-11-22 19:20 Sam James
2021-11-22 13:45 Sam James
2021-11-22  8:03 Sam James
2021-11-22  8:03 Sam James
2021-11-22  7:51 Agostino Sarubbo
2021-11-22  7:49 Agostino Sarubbo
2021-11-21 19:28 Jakov Smolić
2021-10-17  9:25 Michał Górny
2021-10-14  7:51 Michał Górny
2021-05-18 11:40 Michał Górny
2021-05-17 16:15 Marek Szuba
2021-01-24 21:52 Sam James
2021-01-24 20:07 Sam James
2021-01-24 20:06 Sam James
2021-01-24 13:33 Sam James
2021-01-24 12:10 Agostino Sarubbo
2021-01-24  4:32 Sam James
2021-01-22 20:29 Sam James
2021-01-22 16:53 Agostino Sarubbo
2021-01-20 23:02 Sam James
2020-11-09 15:11 Michał Górny
2020-09-28 15:53 Michał Górny
2020-07-29  5:03 Michał Górny
2020-05-26 10:35 Michał Górny
2020-05-04 17:36 Thomas Deutschmann
2020-03-29 14:45 Sergei Trofimovich
2020-03-28 22:46 Mart Raudsepp
2020-03-28 21:24 Michał Górny
2020-03-28 21:24 Michał Górny
2020-03-27 22:03 Sergei Trofimovich
2020-03-27 13:29 Agostino Sarubbo
2020-03-26 14:15 Agostino Sarubbo
2020-03-26 14:14 Agostino Sarubbo
2020-03-26 14:13 Agostino Sarubbo
2020-03-26 14:13 Agostino Sarubbo
2020-03-26 14:12 Agostino Sarubbo
2020-03-26 14:11 Agostino Sarubbo
2020-03-19  9:41 Michał Górny
2020-03-14 21:08 Mart Raudsepp
2020-02-27  7:28 Sergei Trofimovich
2020-02-25 15:04 Agostino Sarubbo
2020-02-25 15:03 Agostino Sarubbo
2020-02-25 15:01 Agostino Sarubbo
2020-02-25 15:00 Agostino Sarubbo
2020-02-25 15:00 Agostino Sarubbo
2020-02-25 14:59 Agostino Sarubbo
2020-02-25 14:57 Agostino Sarubbo
2020-02-24 16:25 Agostino Sarubbo
2020-01-26 21:11 William Hubbs
2019-12-16 14:38 Michał Górny
2019-11-20  5:08 Patrick McLean
2019-11-02 11:46 Mikle Kolyada
2019-11-02  8:14 Mikle Kolyada
2019-11-02  8:06 Mikle Kolyada
2019-11-02  8:06 Mikle Kolyada
2019-06-14  9:00 Agostino Sarubbo
2019-06-13  4:28 Markus Meier
2019-06-05 13:09 Agostino Sarubbo
2019-06-04 18:57 Agostino Sarubbo
2019-06-04 16:59 Agostino Sarubbo
2019-05-30 20:08 Sergei Trofimovich
2019-05-30 20:05 Sergei Trofimovich
2019-05-26 22:27 Thomas Deutschmann
2019-05-26 11:40 Mikle Kolyada
2019-05-26  8:27 Sergei Trofimovich
2019-05-25 17:15 Aaron Bauman
2019-05-04 19:20 Andreas K. Hüttel
2018-07-16 19:57 Michał Górny
2018-07-14 22:44 Michał Górny
2018-07-10 21:47 Michał Górny
2018-05-29 17:08 Michael Haubenwallner
2018-04-03 10:43 Fabian Groffen
2017-02-12 22:20 Zac Medico
2017-01-29 17:28 Fabian Groffen
2016-11-20 16:19 Dirkjan Ochtman
2016-11-20 16:16 Agostino Sarubbo
2016-11-20 14:13 Agostino Sarubbo
2016-10-18 19:44 Markus Meier
2016-10-11 18:12 Jeroen Roovers
2016-10-11 15:51 Agostino Sarubbo
2016-08-30  1:39 Tim Harder
2015-10-11 11:25 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611106512.e095455ebcf69605fe4f34332176da8198e7e333.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox