public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/
Date: Mon,  6 Apr 2020 12:02:10 +0000 (UTC)	[thread overview]
Message-ID: <1586174525.22060d445facf111e2461d28ace87274fef7bc17.mgorny@gentoo> (raw)

commit:     22060d445facf111e2461d28ace87274fef7bc17
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  6 07:58:30 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr  6 12:02:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22060d44

dev-python/pygit2: Bump to 1.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygit2/Manifest            |  1 +
 dev-python/pygit2/pygit2-1.2.0.ebuild | 43 +++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest
index c877119675a..8295409eafc 100644
--- a/dev-python/pygit2/Manifest
+++ b/dev-python/pygit2/Manifest
@@ -1,2 +1,3 @@
 DIST pygit2-1.0.3.tar.gz 501720 BLAKE2B ddfe228bb50df08c1b5e880f58be6b0ae111a10235b695ce93ef04b685507bda90cdccdacefd5400807cd19bc9c63b49061c2da73c89641fe9641c52a4ed16ab SHA512 debf4018e6daa938f44cf22f2acec1f850156e30ac44052e2edb8257f86a60453428356851cc495ae234df9cdbee922a6a7ad7886c9a6e3746b7315c71f0a3df
 DIST pygit2-1.1.1.tar.gz 217896 BLAKE2B 0f1a6ea37d0622259b07553253177f7097ba16912306e5dd007a02a238503f879df3eea5b23d197ffee43f83b1409999fec2094d73fe38b30b8e349d37a84ec3 SHA512 e57600f1eb53647106cdc703d8adcdff7742bde8d3d95d8a879275ec1ac4a4a569d6f7da68a9bf49e82f491980e19abf96e55029f3fbae52371632e6bd3b2ab3
+DIST pygit2-1.2.0.tar.gz 232458 BLAKE2B ce3bc95e107a572709e14e87f6bc31f6b991da5e541d65e551243a5aefd0a853818aeedeafcd6a6607e32d225f0331bca07015d54d538b0f3d9157255630e0be SHA512 44ed29f8d10f4f784e6192b79f6a3924d64b22297cf335e9d005be578c3e0c77999855db802f71d2fcb5c053593ea2e9711e2cd191b3e185ec01c0d49e2ae1c6

diff --git a/dev-python/pygit2/pygit2-1.2.0.ebuild b/dev-python/pygit2/pygit2-1.2.0.ebuild
new file mode 100644
index 00000000000..b9452ff5064
--- /dev/null
+++ b/dev-python/pygit2/pygit2-1.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for libgit2"
+HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	=dev-libs/libgit2-1.0*
+	dev-python/cached-property[${PYTHON_USEDEP}]
+	>=dev-python/cffi-1.0:=[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+	distutils-r1_src_prepare
+
+	# unconditionally prevent it from using network
+	sed -i -e '/def no_network/a \
+    return True' test/utils.py || die
+
+	# we need to move them away to prevent pytest from forcing '..'
+	# for imports
+	mkdir hack || die
+	mv test hack/ || die
+	ln -s hack/test test || die
+}
+
+python_test() {
+	pytest -vv hack/test || die
+}


             reply	other threads:[~2020-04-06 12:02 UTC|newest]

Thread overview: 138+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 12:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-27 10:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/ Michał Górny
2024-07-27  9:08 Arthur Zamarin
2024-07-27  6:40 Arthur Zamarin
2024-07-07 18:59 Arthur Zamarin
2024-06-20 17:43 Sam James
2024-06-20 13:04 Sam James
2024-06-15  4:22 Michał Górny
2024-05-19  6:02 Michał Górny
2024-05-18  7:47 Michał Górny
2024-03-02 11:52 Michał Górny
2024-03-02 11:27 Arthur Zamarin
2024-03-02 10:21 Arthur Zamarin
2024-02-11 16:02 Michał Górny
2024-02-11 15:13 Sam James
2024-02-11 11:11 Sam James
2024-02-11  3:35 Michał Górny
2024-01-27  8:57 Michał Górny
2023-12-09 15:47 Michał Górny
2023-12-09 15:30 Michał Górny
2023-12-09 14:17 Michał Górny
2023-12-08 16:49 Michał Górny
2023-12-08 13:18 Arthur Zamarin
2023-12-08 11:08 Sam James
2023-11-21 19:05 Michał Górny
2023-10-31  7:53 Michał Górny
2023-09-27 16:07 Michał Górny
2023-09-25  2:55 Michał Górny
2023-07-28  9:47 Michał Górny
2023-07-28  9:37 Sam James
2023-07-28  7:56 Sam James
2023-06-27 11:36 Michał Górny
2023-06-27  9:08 Jakov Smolić
2023-06-27  6:43 Sam James
2023-06-27  3:54 Michał Górny
2023-05-27 13:21 Michał Górny
2023-05-08  4:31 Michał Górny
2023-05-03  7:57 Michał Górny
2023-05-03  6:39 Arthur Zamarin
2023-05-03  6:38 Arthur Zamarin
2023-04-02  2:55 Michał Górny
2022-12-10 15:46 Michał Górny
2022-11-11 14:31 Michał Górny
2022-11-07  5:54 Michał Górny
2022-10-03  9:39 Michał Górny
2022-10-03  8:24 Agostino Sarubbo
2022-10-03  0:44 Sam James
2022-08-29 18:40 Arthur Zamarin
2022-08-27  6:26 Michał Górny
2022-08-26 23:28 Sam James
2022-08-26 23:27 Sam James
2022-07-25  7:12 Michał Górny
2022-06-25 11:18 Michał Górny
2022-06-25  9:01 Agostino Sarubbo
2022-06-25  8:54 Agostino Sarubbo
2022-05-25  7:12 Michał Górny
2022-05-16 20:56 Jakov Smolić
2022-04-27  6:46 Michał Górny
2022-04-26 22:44 Sam James
2022-04-26 22:43 Sam James
2022-03-23  8:58 Michał Górny
2022-03-16  8:07 Michał Górny
2022-03-15 18:16 Jakov Smolić
2022-02-22 18:55 Michał Górny
2021-12-20 23:29 Sam James
2021-12-20 10:37 Jakov Smolić
2021-11-19 22:24 Michał Górny
2021-11-11  8:07 Michał Górny
2021-10-31 17:58 Sam James
2021-10-31 17:55 Sam James
2021-10-08 19:47 Michał Górny
2021-09-03 17:59 Sam James
2021-07-13  6:44 Michał Górny
2021-07-13  0:05 Sam James
2021-07-12 22:11 Sam James
2021-06-20  5:51 Michał Górny
2021-06-05 17:59 Michał Górny
2021-06-01 21:37 Michał Górny
2021-02-26 10:41 Michał Górny
2021-02-26 10:12 Agostino Sarubbo
2021-02-26  8:09 Agostino Sarubbo
2021-01-23 23:30 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 16:40 Thomas Deutschmann
2020-11-06 23:14 Michał Górny
2020-11-03  8:24 Michał Górny
2020-11-02 23:51 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-09-19  7:21 Michał Górny
2020-05-04  9:37 Michał Górny
2020-05-02  6:43 Michał Górny
2020-04-26 16:53 Michał Górny
2020-03-19 17:20 Michał Górny
2020-03-11  6:35 Michał Górny
2020-03-07 14:30 Michał Górny
2020-03-02  5:42 Michał Górny
2020-02-17 12:21 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-02-01  5:59 Michał Górny
2020-02-01  5:59 Michał Górny
2020-01-11 15:17 Michał Górny
2019-12-26 11:27 Michał Górny
2019-12-22  8:28 Michał Górny
2019-08-19  4:29 Michał Górny
2019-08-18 21:51 Agostino Sarubbo
2019-08-16 22:38 Thomas Deutschmann
2019-06-08  8:00 Michał Górny
2019-06-08  8:00 Michał Górny
2019-05-27 14:02 Michał Górny
2019-04-19 11:46 Michał Górny
2019-03-28 13:49 Michał Górny
2019-01-20 10:42 Michał Górny
2018-10-06 15:31 Michał Górny
2018-09-17  6:59 Michał Górny
2018-07-18 22:11 Michał Górny
2018-07-18 22:11 Michał Górny
2018-06-03  6:25 Michał Górny
2018-05-27 20:14 Mikle Kolyada
2018-05-27 13:01 Thomas Deutschmann
2018-03-31  8:03 Michał Górny
2018-03-24  8:42 Michał Górny
2018-01-26 15:03 Mikle Kolyada
2017-12-27 12:08 Michał Górny
2017-12-27 12:08 Michał Górny
2017-09-19 11:08 Michał Górny
2017-08-24 15:53 Michał Górny
2017-08-24  7:09 Michał Górny
2017-05-14 10:45 Manuel Rüger
2017-05-02 13:11 Michał Górny
2017-02-13  9:44 Zac Medico
2017-01-24 13:01 Manuel Rüger
2016-11-06 23:13 Manuel Rüger
2016-11-04  0:27 Tim Harder
2016-10-10 22:37 Manuel Rüger
2016-08-08  7:12 Tim Harder
2016-01-02 10:20 Justin Lecher
2015-09-15  0:41 Tim Harder
2015-08-28 23:58 Tim Harder

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=1586174525.22060d445facf111e2461d28ace87274fef7bc17.mgorny@gentoo \
    --to=mgorny@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