public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/aiocache/files/, dev-python/aiocache/
@ 2023-02-09 23:27 Bernard Cafarelli
  0 siblings, 0 replies; 2+ messages in thread
From: Bernard Cafarelli @ 2023-02-09 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     c33b26139bdcab17fd76f0a3a5028b2f0b07eebc
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 21:50:54 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 23:26:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c33b2613

dev-python/aiocache: new package, add 0.12.0

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 dev-python/aiocache/Manifest                       |  1 +
 dev-python/aiocache/aiocache-0.12.0.ebuild         | 35 ++++++++++++++++++++++
 .../aiocache-0.12.0-fix-test-installation.patch    | 12 ++++++++
 dev-python/aiocache/metadata.xml                   | 16 ++++++++++
 4 files changed, 64 insertions(+)

diff --git a/dev-python/aiocache/Manifest b/dev-python/aiocache/Manifest
new file mode 100644
index 000000000000..421a8f796e2c
--- /dev/null
+++ b/dev-python/aiocache/Manifest
@@ -0,0 +1 @@
+DIST aiocache-0.12.0.tar.gz 127002 BLAKE2B efb07ff146d777e99154c839d01665d35fbba410e1a1ca80d4c71f639e69abf43509d79398679027f0a94eb24cfdf933f5762418bd3f43dd441281cc1b1b5236 SHA512 8437c148cc2d40737c0352b0a2fa19636124b71bc03f206066e5c7b8910aa0f0bddfa40587d50a4acd86abd88e8db595a92e267d4b25234f20ccba94e5a63e7e

diff --git a/dev-python/aiocache/aiocache-0.12.0.ebuild b/dev-python/aiocache/aiocache-0.12.0.ebuild
new file mode 100644
index 000000000000..ac1baf19bf02
--- /dev/null
+++ b/dev-python/aiocache/aiocache-0.12.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Asyncio cache manager"
+HOMEPAGE="https://github.com/aio-libs/aiocache/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+# TODO add optional cache systems deps (and new package aiomcache)
+# Tests require all backends
+RESTRICT="test"
+
+BDEPEND="
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+	)"
+
+PATCHES=( "${FILESDIR}/${PN}-0.12.0-fix-test-installation.patch" )
+
+distutils_enable_tests pytest
+
+python_test() {
+	epytest -o addopts=
+}

diff --git a/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch b/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch
new file mode 100644
index 000000000000..a64f618931ed
--- /dev/null
+++ b/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch
@@ -0,0 +1,12 @@
+diff -Naur aiocache-0.12.0.orig/setup.py aiocache-0.12.0/setup.py
+--- aiocache-0.12.0.orig/setup.py	2023-01-13 21:54:07.000000000 +0100
++++ aiocache-0.12.0/setup.py	2023-02-09 22:45:48.004077571 +0100
+@@ -29,7 +29,7 @@
+         "Programming Language :: Python :: 3.11",
+         "Framework :: AsyncIO",
+     ],
+-    packages=find_packages(),
++    packages=find_packages(exclude=['tests*']),
+     install_requires=None,
+     extras_require={
+         "redis": ["redis>=4.2.0"],

diff --git a/dev-python/aiocache/metadata.xml b/dev-python/aiocache/metadata.xml
new file mode 100644
index 000000000000..a54e1b0a7be8
--- /dev/null
+++ b/dev-python/aiocache/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>voyageur@gentoo.org</email>
+    <name>Bernard Cafarelli</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>python@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="pypi">aiocache</remote-id>
+    <remote-id type="github">aio-libs/aiocache</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/aiocache/files/, dev-python/aiocache/
@ 2023-12-30 18:26 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-12-30 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     32ff6fed98988d0bbcb5cc0af7d1f7cd5fd21a40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 18:25:23 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 18:26:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ff6fed

dev-python/aiocache: Remove old

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

 dev-python/aiocache/Manifest                       |  1 -
 dev-python/aiocache/aiocache-0.12.0.ebuild         | 34 ----------------------
 .../aiocache-0.12.0-fix-test-installation.patch    | 12 --------
 3 files changed, 47 deletions(-)

diff --git a/dev-python/aiocache/Manifest b/dev-python/aiocache/Manifest
index 10dac826433c..763434e37262 100644
--- a/dev-python/aiocache/Manifest
+++ b/dev-python/aiocache/Manifest
@@ -1,2 +1 @@
-DIST aiocache-0.12.0.tar.gz 127002 BLAKE2B efb07ff146d777e99154c839d01665d35fbba410e1a1ca80d4c71f639e69abf43509d79398679027f0a94eb24cfdf933f5762418bd3f43dd441281cc1b1b5236 SHA512 8437c148cc2d40737c0352b0a2fa19636124b71bc03f206066e5c7b8910aa0f0bddfa40587d50a4acd86abd88e8db595a92e267d4b25234f20ccba94e5a63e7e
 DIST aiocache-0.12.2.tar.gz 131851 BLAKE2B a8467ec12321248f7673245c427567d2c8ef345a6a34694618fce0969e186de47097d64c3b94cbf047a281a1ed09889075862d9770f7787daaf9469f245b2493 SHA512 ce57e3fdbd428e8a8a94a45e5196e339d40f4fffa49851c3486b264e6344d72fe39407bd958a97baa7af06433c08a0e9d6a7ae44eff515dfc40012804ac876f2

diff --git a/dev-python/aiocache/aiocache-0.12.0.ebuild b/dev-python/aiocache/aiocache-0.12.0.ebuild
deleted file mode 100644
index f9138d54e4ac..000000000000
--- a/dev-python/aiocache/aiocache-0.12.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Asyncio cache manager"
-HOMEPAGE="https://github.com/aio-libs/aiocache/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-# TODO add optional cache systems deps (and new package aiomcache)
-# Tests require all backends
-RESTRICT="test"
-
-BDEPEND="
-	test? (
-		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-	)"
-
-PATCHES=( "${FILESDIR}/${PN}-0.12.0-fix-test-installation.patch" )
-
-distutils_enable_tests pytest
-
-python_test() {
-	epytest -o addopts=
-}

diff --git a/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch b/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch
deleted file mode 100644
index a64f618931ed..000000000000
--- a/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur aiocache-0.12.0.orig/setup.py aiocache-0.12.0/setup.py
---- aiocache-0.12.0.orig/setup.py	2023-01-13 21:54:07.000000000 +0100
-+++ aiocache-0.12.0/setup.py	2023-02-09 22:45:48.004077571 +0100
-@@ -29,7 +29,7 @@
-         "Programming Language :: Python :: 3.11",
-         "Framework :: AsyncIO",
-     ],
--    packages=find_packages(),
-+    packages=find_packages(exclude=['tests*']),
-     install_requires=None,
-     extras_require={
-         "redis": ["redis>=4.2.0"],


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-30 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 23:27 [gentoo-commits] repo/gentoo:master commit in: dev-python/aiocache/files/, dev-python/aiocache/ Bernard Cafarelli
  -- strict thread matches above, loose matches on Subject: below --
2023-12-30 18:26 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox