public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/
Date: Wed,  5 Feb 2020 05:52:42 +0000 (UTC)	[thread overview]
Message-ID: <1580881948.6740c7e498f9463c3eb68227dc8c8ebd512e8478.pesa@gentoo> (raw)

commit:     6740c7e498f9463c3eb68227dc8c8ebd512e8478
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 05:48:57 2020 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 05:52:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6740c7e4

dev-python/sip: add 4.19.21

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>

 dev-python/sip/Manifest           |  1 +
 dev-python/sip/sip-4.19.21.ebuild | 98 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
index e59287ea890..cd6c6d15f3c 100644
--- a/dev-python/sip/Manifest
+++ b/dev-python/sip/Manifest
@@ -1,3 +1,4 @@
 DIST sip-4.19.17.tar.gz 1056156 BLAKE2B b5a7b4cd3f2152e9b7ee7b715c3ad72c2092598e0405cefc24d6283e9da07e54fd65da89e137618d3b84f3138fff719cf226600135d646e7bd7c538c2a02cdfd SHA512 d393cfc1643663926bd315a8df92abd82bec071bf0488b047625bdac43e9074bc8a510ac23244a7a2d2d181f70af9691db9d0b759e79643981d6afd71a49d3cb
 DIST sip-4.19.19.tar.gz 1058422 BLAKE2B 9c27e636a55699e8bf9c9caba9227e3ff9c8476dfd86d4bb8b0b53c9db95d28441d1ac03a0d20a71468d39e5f21066475018cff93b96281b3904f6a619304f92 SHA512 396c625f59ccef67c2e94221b26dd4ed5d536652a9b63a9f23b340ddf16adf34c6bdb0fbd7c0c1cc403e1d59e8ebf716b478a24bade66a2703fcc5f00b62533d
 DIST sip-4.19.20.tar.gz 1050009 BLAKE2B 2ee7ecfbb2fa2c1a6a7ec57ab91113cd0c93fa5be4f5a05b8edb568e0d26e1d248a504e95cfd1485bdf156680e7e076c26f354e05bef45d7a37e9f79f7f0a0aa SHA512 d5cd49f6fcae08306ac5f993710c40b82804d6b268cf3fa14077e73f34b02d551aa3caf57a985fe39b5acd61c465b00372d2ada722ced76e670dec14b5f8de44
+DIST sip-4.19.21.tar.gz 1050654 BLAKE2B 2da54bd5d6b8a1653f74272634514817d3efde90d83a67a8e68a1a9d094d24c5199ab9b7deeb2c33a32dc3008778747a2f39e0047f6d6e034f440be36c457072 SHA512 441e1fe6b3eb6820638f9b4436e820da39b72dd70b402afa5237979ac671978c081d92e1e78920bb754bbc66b159bad08edb3bbb497b7e72dee6ff1d69cd1b60

diff --git a/dev-python/sip/sip-4.19.21.ebuild b/dev-python/sip/sip-4.19.21.ebuild
new file mode 100644
index 00000000000..320cc98ec4f
--- /dev/null
+++ b/dev-python/sip/sip-4.19.21.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+inherit python-r1 toolchain-funcs
+
+DESCRIPTION="Python extension module generator for C and C++ libraries"
+HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
+
+MY_PN=sip
+MY_P=${MY_PN}-${PV/_pre/.dev}
+if [[ ${PV} == *_pre* ]]; then
+	SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
+else
+	SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz"
+fi
+
+# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h
+SLOT="0/12"
+LICENSE="|| ( GPL-2 GPL-3 SIP )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
+
+src_prepare() {
+	# Sub-slot sanity check
+	local sub_slot=${SLOT#*/}
+	local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die)
+	if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
+		eerror
+		eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
+		eerror "Please update SLOT variable as follows:"
+		eerror "    SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
+		eerror
+		die "sub-slot sanity check failed"
+	fi
+
+	default
+}
+
+src_configure() {
+	configuration() {
+		if ! python_is_python3; then
+			local CFLAGS="${CFLAGS} -fno-strict-aliasing"
+		fi
+
+		local incdir=$(python_get_includedir)
+		local myconf=(
+			"${PYTHON}"
+			"${S}"/configure.py
+			--sysroot="${ESYSROOT}/usr"
+			--bindir="${EPREFIX}/usr/bin"
+			--destdir="$(python_get_sitedir)"
+			--incdir="${incdir#${SYSROOT}}"
+			AR="$(tc-getAR) cqs"
+			CC="$(tc-getCC)"
+			CFLAGS="${CFLAGS}"
+			CFLAGS_RELEASE=
+			CXX="$(tc-getCXX)"
+			CXXFLAGS="${CXXFLAGS}"
+			CXXFLAGS_RELEASE=
+			LINK="$(tc-getCXX)"
+			LINK_SHLIB="$(tc-getCXX)"
+			LFLAGS="${LDFLAGS}"
+			LFLAGS_RELEASE=
+			RANLIB=
+			STRIP=
+		)
+		echo "${myconf[@]}"
+		"${myconf[@]}" || die
+	}
+	python_foreach_impl run_in_build_dir configuration
+}
+
+src_compile() {
+	python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+	installation() {
+		emake DESTDIR="${D}" install
+		python_optimize
+	}
+	python_foreach_impl run_in_build_dir installation
+
+	einstalldocs
+	use doc && dodoc -r doc/html
+}


             reply	other threads:[~2020-02-05  5:52 UTC|newest]

Thread overview: 267+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05  5:52 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-17 23:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/ Ionen Wolkens
2024-07-27  9:44 Michał Górny
2024-07-27  6:49 Arthur Zamarin
2024-07-12 14:54 Ionen Wolkens
2024-07-12 14:54 Ionen Wolkens
2024-07-11 11:01 Sam James
2024-07-04 10:41 Ionen Wolkens
2024-06-22 17:45 Ionen Wolkens
2024-06-21 17:00 Ionen Wolkens
2024-05-13  5:49 Ionen Wolkens
2024-03-29 15:50 Ionen Wolkens
2024-02-24 10:22 Michał Górny
2024-02-24 10:22 Michał Górny
2024-02-24 10:14 Michał Górny
2024-02-09 12:19 Ionen Wolkens
2024-02-09 12:19 Ionen Wolkens
2024-02-08  8:21 Jakov Smolić
2024-01-24 20:58 Ionen Wolkens
2023-12-30 14:32 Michał Górny
2023-12-30 14:04 Arthur Zamarin
2023-12-12 18:00 Ionen Wolkens
2023-11-30 19:42 Ionen Wolkens
2023-11-30 19:42 Ionen Wolkens
2023-11-09 15:49 Ionen Wolkens
2023-11-03 15:08 Arthur Zamarin
2023-11-03 15:08 Arthur Zamarin
2023-11-03 15:08 Arthur Zamarin
2023-11-03 15:08 Arthur Zamarin
2023-11-03 11:00 Arthur Zamarin
2023-11-03 10:59 Arthur Zamarin
2023-10-25  7:58 Ionen Wolkens
2023-10-14 14:48 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-10-10 15:09 Arthur Zamarin
2023-10-09 20:02 Sam James
2023-10-09 20:02 Sam James
2023-10-09 18:00 Sam James
2023-10-09 18:00 Sam James
2023-10-09 18:00 Sam James
2023-09-01  5:20 Ionen Wolkens
2023-08-24 12:49 Michał Górny
2023-08-24 12:40 Sam James
2023-08-24 12:40 Sam James
2023-08-24 12:40 Sam James
2023-08-24 12:40 Sam James
2023-08-24 12:40 Sam James
2023-08-24 12:40 Sam James
2023-07-25  0:10 Ionen Wolkens
2023-06-03  6:48 Michał Górny
2023-06-03  3:23 Sam James
2023-06-03  3:23 Sam James
2023-06-03  2:23 Sam James
2023-06-03  2:01 Sam James
2023-06-03  1:57 Sam James
2023-06-03  1:57 Sam James
2023-04-26  5:36 Michał Górny
2023-04-25 22:41 Sam James
2023-04-24 12:38 Jakov Smolić
2023-04-24  8:25 Arthur Zamarin
2023-04-24  8:25 Arthur Zamarin
2023-04-23 22:59 Sam James
2023-04-23 22:59 Sam James
2023-04-23 22:12 Sam James
2023-04-23 21:36 Sam James
2023-04-22 14:28 Sam James
2023-04-22 11:31 Sam James
2023-04-22  8:45 Arthur Zamarin
2023-04-22  8:44 Arthur Zamarin
2023-04-22  8:44 Arthur Zamarin
2023-04-11  6:15 Sam James
2023-03-10  8:40 Sam James
2022-12-02 10:20 WANG Xuerui
2022-11-24 20:42 Sam James
2022-11-24 20:42 Sam James
2022-11-24 20:42 Sam James
2022-11-24 15:56 Jakov Smolić
2022-11-24 15:56 Jakov Smolić
2022-11-24 15:56 Jakov Smolić
2022-11-24 11:04 Sam James
2022-11-05  6:35 Sam James
2022-11-05  6:35 Sam James
2022-10-30 22:41 Sam James
2022-07-28 14:14 Sam James
2022-07-28  7:07 Agostino Sarubbo
2022-07-27 20:09 Sam James
2022-07-27  7:54 Agostino Sarubbo
2022-07-27  4:16 Sam James
2022-07-27  4:16 Sam James
2022-07-24 17:06 Sam James
2022-07-15  7:24 Michał Górny
2022-07-15  0:45 Sam James
2022-07-15  0:45 Sam James
2022-07-14 20:04 Arthur Zamarin
2022-07-14 19:24 Arthur Zamarin
2022-07-14 19:07 Arthur Zamarin
2022-07-14 18:58 Arthur Zamarin
2022-06-01  5:25 Sam James
2022-06-01  5:25 Sam James
2022-06-01  2:29 Sam James
2022-06-01  2:29 Sam James
2022-06-01  1:55 Sam James
2022-06-01  1:55 Sam James
2021-12-02 19:31 Davide Pesavento
2021-10-30 23:43 Davide Pesavento
2021-10-30 23:43 Davide Pesavento
2021-10-13 20:15 Davide Pesavento
2021-10-03 17:27 Davide Pesavento
2021-09-14  1:30 Yixun Lan
2021-09-12 21:34 Davide Pesavento
2021-08-15  6:31 Davide Pesavento
2021-08-13 22:09 Davide Pesavento
2021-08-06 12:16 Sam James
2021-08-03 23:37 Sam James
2021-08-03 12:00 Agostino Sarubbo
2021-08-03 10:57 Agostino Sarubbo
2021-08-03  6:51 Agostino Sarubbo
2021-08-03  6:51 Agostino Sarubbo
2021-08-02 21:52 Davide Pesavento
2021-07-03 21:13 Davide Pesavento
2021-06-19 20:42 Davide Pesavento
2021-06-19 19:37 Davide Pesavento
2021-06-15 20:32 Davide Pesavento
2021-06-02  2:00 Davide Pesavento
2021-06-01 17:07 Andrew Ammerlaan
2021-05-30  4:05 Davide Pesavento
2021-05-29 19:44 Davide Pesavento
2021-05-26 13:17 Sam James
2021-05-26  8:11 Sam James
2021-05-26  8:04 Sam James
2021-05-25 16:55 Sam James
2021-05-25 15:04 Agostino Sarubbo
2021-05-25 11:03 Sam James
2021-03-24 23:29 Davide Pesavento
2021-03-02  6:09 Davide Pesavento
2020-11-28 21:59 Andreas Sturmlechner
2020-11-12  0:35 Thomas Deutschmann
2020-11-04  8:16 Sergei Trofimovich
2020-11-04  7:58 Sergei Trofimovich
2020-11-04  6:06 Sam James
2020-11-04  1:05 Sam James
2020-11-03 13:12 Sam James
2020-08-17 23:50 Davide Pesavento
2020-08-01 23:20 Andreas Sturmlechner
2020-06-10 18:46 Davide Pesavento
2020-06-09 20:06 Michał Górny
2020-06-09 19:15 Davide Pesavento
2020-06-09 19:15 Davide Pesavento
2020-06-08 16:34 Mart Raudsepp
2020-06-07  8:48 Agostino Sarubbo
2020-06-07  8:44 Agostino Sarubbo
2020-06-06 20:13 Agostino Sarubbo
2020-06-06 17:32 Agostino Sarubbo
2020-06-05 22:43 Andreas Sturmlechner
2020-04-19  1:17 Davide Pesavento
2020-03-22 10:37 Agostino Sarubbo
2020-03-21 16:50 Agostino Sarubbo
2020-03-21 16:49 Agostino Sarubbo
2020-03-21 15:52 Agostino Sarubbo
2020-03-07 15:23 Michał Górny
2020-03-07 15:11 Michał Górny
2020-01-27 12:28 Mikle Kolyada
2019-12-31 14:23 Agostino Sarubbo
2019-12-31 14:21 Agostino Sarubbo
2019-12-31 14:16 Agostino Sarubbo
2019-12-31 14:06 Agostino Sarubbo
2019-12-31 14:02 Agostino Sarubbo
2019-12-26 16:39 Davide Pesavento
2019-11-16 20:25 Davide Pesavento
2019-11-16 19:28 Davide Pesavento
2019-11-16 19:28 Davide Pesavento
2019-11-16 19:28 Davide Pesavento
2019-09-24 21:50 Davide Pesavento
2019-07-28 20:27 Mikle Kolyada
2019-07-23 16:45 Aaron Bauman
2019-07-18 14:24 Agostino Sarubbo
2019-07-18 10:01 Agostino Sarubbo
2019-07-18  9:57 Agostino Sarubbo
2019-07-14  9:11 Sergei Trofimovich
2019-07-08 12:10 Thomas Deutschmann
2019-07-08 11:05 Agostino Sarubbo
2019-07-06  4:36 Davide Pesavento
2019-05-26  5:45 Aaron Bauman
2019-05-12 20:09 Davide Pesavento
2019-05-08 23:22 Davide Pesavento
2019-05-08 23:22 Davide Pesavento
2019-04-28 18:16 Davide Pesavento
2019-04-26 17:51 Anthony G. Basile
2019-04-02 19:57 Davide Pesavento
2019-04-02 19:48 Davide Pesavento
2019-03-19 20:40 Davide Pesavento
2019-02-12  4:48 Davide Pesavento
2019-02-12  4:10 Davide Pesavento
2019-02-12  3:55 Davide Pesavento
2019-02-12  3:55 Davide Pesavento
2019-01-31  8:49 Tobias Klausmann
2019-01-10 21:21 James Le Cuirot
2018-12-31 22:27 Davide Pesavento
2018-12-29 19:12 Thomas Deutschmann
2018-12-27 19:49 Davide Pesavento
2018-12-25 19:49 Sergei Trofimovich
2018-12-25 19:46 Sergei Trofimovich
2018-12-25 19:36 Sergei Trofimovich
2018-12-24 19:24 Davide Pesavento
2018-12-24 18:38 Davide Pesavento
2018-10-07 18:08 Davide Pesavento
2018-10-07 13:46 Mike Gilbert
2018-10-05  1:23 Davide Pesavento
2018-08-07 14:54 Davide Pesavento
2018-07-13 19:38 Davide Pesavento
2018-07-13 19:34 Davide Pesavento
2018-05-10 14:23 Andreas Sturmlechner
2018-05-07 17:22 Andreas Sturmlechner
2018-03-31 14:17 Tobias Klausmann
2018-03-24 11:22 Sergei Trofimovich
2018-03-24  0:07 Michael Palimaka
2018-03-04 20:24 Davide Pesavento
2018-03-04 20:24 Davide Pesavento
2018-01-31 15:47 Davide Pesavento
2018-01-22 18:49 Davide Pesavento
2018-01-22 18:24 Markus Meier
2017-12-16 17:24 Tobias Klausmann
2017-11-30 20:19 Tobias Klausmann
2017-11-28 22:58 Sergei Trofimovich
2017-11-28  7:05 Sergei Trofimovich
2017-11-27  0:20 Thomas Deutschmann
2017-11-25 18:29 Sergei Trofimovich
2017-11-24 21:11 Davide Pesavento
2017-11-11 21:05 Davide Pesavento
2017-11-11 21:05 Davide Pesavento
2017-11-10 20:16 Davide Pesavento
2017-11-10 20:16 Davide Pesavento
2017-07-11 15:51 Davide Pesavento
2017-06-20 12:21 Alexis Ballier
2017-06-11  5:19 Davide Pesavento
2017-06-10 15:10 Agostino Sarubbo
2017-04-18  7:02 Jeroen Roovers
2017-04-05  0:21 Davide Pesavento
2017-03-18 18:30 Davide Pesavento
2017-03-17 10:15 Agostino Sarubbo
2017-03-16 10:13 Michael Weber
2017-03-10 20:12 Zac Medico
2017-02-19  1:41 Davide Pesavento
2017-01-29 17:28 Fabian Groffen
2017-01-25  0:54 Davide Pesavento
2017-01-02  1:02 Davide Pesavento
2016-12-31  5:53 Andrey Grozin
2016-10-02 10:08 Jeroen Roovers
2016-08-05 17:13 Markus Meier
2016-07-27  9:31 Davide Pesavento
2016-07-13 21:22 Michael Palimaka
2016-07-11 14:50 Davide Pesavento
2016-06-16 12:24 Davide Pesavento
2016-05-04 19:59 Davide Pesavento
2016-04-24  6:11 Sergey Popov
2016-04-23 22:36 Davide Pesavento
2015-12-17 15:00 Justin Lecher
2015-11-18 10:14 Agostino Sarubbo
2015-10-24 15:44 Davide Pesavento
2015-10-20  1:04 Davide Pesavento
2015-10-20  1:04 Davide Pesavento
2015-10-19 16:29 Justin Lecher
2015-09-29 20:44 Markus Meier
2015-09-25 10:50 Agostino Sarubbo
2015-09-15  9:30 Tobias Klausmann
2015-09-06  9:52 Jeroen Roovers
2015-08-26  3:56 Davide Pesavento

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=1580881948.6740c7e498f9463c3eb68227dc8c8ebd512e8478.pesa@gentoo \
    --to=pesa@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