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/deprecated/
Date: Tue, 18 Jun 2019 07:07:50 +0000 (UTC)	[thread overview]
Message-ID: <1560841654.cbf5e0813c639946e746436fb8d40227d1ef34a5.mgorny@gentoo> (raw)

commit:     cbf5e0813c639946e746436fb8d40227d1ef34a5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 06:02:11 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 07:07:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf5e081

dev-python/deprecated: New package

A package to handle deprecations in API.  Required for PyGithub bump.

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

 dev-python/deprecated/Manifest                |  1 +
 dev-python/deprecated/deprecated-1.2.5.ebuild | 27 +++++++++++++++++++++++++++
 dev-python/deprecated/metadata.xml            | 11 +++++++++++
 3 files changed, 39 insertions(+)

diff --git a/dev-python/deprecated/Manifest b/dev-python/deprecated/Manifest
new file mode 100644
index 00000000000..73924199cbe
--- /dev/null
+++ b/dev-python/deprecated/Manifest
@@ -0,0 +1 @@
+DIST deprecated-1.2.5.gh.tar.gz 5038752 BLAKE2B 82ceadca4ccef4309b2a7d493620cc8a4dd9160ab7449a3019c9e9bc3a99e8016b6125d4165b71813d9543b7629d55372affdbd14ad2c71d101061595bdb677c SHA512 3a16b5d4f2475788ce919c327b668bb8852dab88adfa959826c9b68ccbfba3207a1c60ca164edacde8a756bd3895225af944a51eebde1230a93a973145231234

diff --git a/dev-python/deprecated/deprecated-1.2.5.ebuild b/dev-python/deprecated/deprecated-1.2.5.ebuild
new file mode 100644
index 00000000000..4f502db5e1b
--- /dev/null
+++ b/dev-python/deprecated/deprecated-1.2.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit distutils-r1
+
+DESCRIPTION="Python @deprecated decorator to deprecate old API"
+HOMEPAGE="https://github.com/tantale/deprecated"
+SRC_URI="https://github.com/tantale/deprecated/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		${RDEPEND}
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)"
+
+python_test() {
+	pytest -vv || die "Tests fail with ${EPYTHON}"
+}

diff --git a/dev-python/deprecated/metadata.xml b/dev-python/deprecated/metadata.xml
new file mode 100644
index 00000000000..22e0d6d87f6
--- /dev/null
+++ b/dev-python/deprecated/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2019-06-18  7:07 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18  7:07 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-07-19  2:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/deprecated/ Michał Górny
2019-07-28  6:41 Michał Górny
2019-07-31 10:59 Agostino Sarubbo
2019-07-31 11:03 Agostino Sarubbo
2019-11-12  6:36 Michał Górny
2019-12-30 15:32 Agostino Sarubbo
2019-12-31 14:02 Agostino Sarubbo
2020-01-03  8:42 Michał Górny
2020-02-11  7:39 Michał Górny
2020-03-16 12:00 Michał Górny
2020-03-26 20:35 Michał Górny
2020-04-11  7:49 Michał Górny
2020-05-14  6:04 Michał Górny
2020-05-15 10:18 Agostino Sarubbo
2020-05-15 10:28 Agostino Sarubbo
2020-07-08 12:52 Michał Górny
2020-07-08 12:52 Michał Górny
2021-01-17 15:13 Michał Górny
2021-02-19  3:40 Sam James
2021-03-14  8:12 Michał Górny
2021-04-18  1:41 Sam James
2021-04-18  7:05 Michał Górny
2021-06-01 21:46 Michał Górny
2021-06-08  4:09 Sam James
2021-09-06  6:23 Michał Górny
2021-10-10 16:18 Michał Górny
2021-11-25  0:54 Sam James
2021-11-25  6:47 Sam James
2021-11-25 20:28 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-12-23 18:21 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 22:42 Sam James
2022-03-08 17:11 Jakov Smolić
2022-05-13  6:15 Michał Górny
2022-05-13  6:15 Michał Górny
2022-06-16  8:59 Jakov Smolić
2022-06-16  9:18 Michał Górny
2022-06-16  9:18 Michał Górny
2023-05-28  2:50 Michał Górny
2023-05-28  2:50 Michał Górny
2023-05-31 16:05 Michał Górny
2023-07-05  5:56 Arthur Zamarin
2023-07-05  8:03 Michał Górny
2023-11-17  7:47 Sam James
2023-12-08 19:53 Arthur Zamarin
2023-12-16  2:45 Sam James
2024-02-10  6:58 Ionen Wolkens

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=1560841654.cbf5e0813c639946e746436fb8d40227d1ef34a5.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