public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/wraps/, dev-python/wraps/files/
@ 2022-07-12 12:31 Horea Christian
  0 siblings, 0 replies; 2+ messages in thread
From: Horea Christian @ 2022-07-12 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     244c134feee107bef9df51f04d74485f9e16f91a
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Jul 12 12:31:44 2022 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jul 12 12:31:44 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=244c134f

dev-python/wraps: new package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../wraps/files/wraps-0.1.0-poetry_groups.patch    | 61 ++++++++++++++++++++++
 dev-python/wraps/metadata.xml                      | 15 ++++++
 dev-python/wraps/wraps-0.1.0.ebuild                | 30 +++++++++++
 3 files changed, 106 insertions(+)

diff --git a/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch b/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch
new file mode 100644
index 000000000..8a6de2917
--- /dev/null
+++ b/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch
@@ -0,0 +1,61 @@
+--- a/pyproject.toml	2022-06-28 11:08:09.624127900 -0400
++++ b/pyproject.toml	2022-07-11 16:33:14.810411482 -0400
+@@ -37,29 +37,6 @@
+
+ typing-extensions = ">= 4.2.0"
+
+-[tool.poetry.group.format]
+-optional = true
+-
+-[tool.poetry.group.format.dependencies]
+-black = "22.6.0"
+-
+-[tool.poetry.group.format.dependencies.isort]
+-version = "5.10.1"
+-python = "^3.7"
+-
+-[tool.poetry.group.check]
+-optional = true
+-
+-[tool.poetry.group.check.dependencies]
+-mypy = "0.961"
+-
+-[tool.poetry.group.test]
+-optional = true
+-
+-[tool.poetry.group.test.dependencies]
+-pytest = "7.1.2"
+-pytest-cov = "3.0.0"
+-
+ [tool.black]
+ line_length = 100
+
+@@ -67,29 +44,6 @@
+ line_length = 100
+ profile = "black"
+
+-[tool.pytest.ini_options]
+-addopts = "--cov wraps"
+-testpaths = ["tests"]
+-
+-[tool.coverage.run]
+-source = ["wraps"]
+-
+-[tool.coverage.report]
+-ignore_errors = true
+-exclude_lines = [
+-    "pragma: never",
+-    "pragma: no cover",
+-    "if TYPE_CHECKING",
+-    "@overload",
+-    "@abstractmethod",
+-    "raise NotImplementedError",
+-    "raise AssertionError",
+-    "def __repr__",
+-]
+-
+-[tool.coverage.html]
+-directory = "coverage"
+-
+ [tool.mypy]
+ show_column_numbers = true

diff --git a/dev-python/wraps/metadata.xml b/dev-python/wraps/metadata.xml
new file mode 100644
index 000000000..dd3bf5227
--- /dev/null
+++ b/dev-python/wraps/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@chymera.eu</email>
+		<name>Horea Christian</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">nekitdev/wraps</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/wraps/wraps-0.1.0.ebuild b/dev-python/wraps/wraps-0.1.0.ebuild
new file mode 100644
index 000000000..8ec771d57
--- /dev/null
+++ b/dev-python/wraps/wraps-0.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION=" Meaningful and safe wrapping types. "
+HOMEPAGE="https://github.com/nekitdev/wraps"
+SRC_URI="https://github.com/nekitdev/wraps/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+# package does not have test suite (yet)
+
+RDEPEND="
+	>=dev-python/attrs-21.4.0[${PYTHON_USEDEP}]
+	>=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}]
+	"
+
+PATCHES=(
+	"${FILESDIR}/${P}-poetry_groups.patch"
+)
+
+distutils_enable_tests pytest


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

* [gentoo-commits] proj/sci:master commit in: dev-python/wraps/, dev-python/wraps/files/
@ 2022-10-29  4:27 Horea Christian
  0 siblings, 0 replies; 2+ messages in thread
From: Horea Christian @ 2022-10-29  4:27 UTC (permalink / raw
  To: gentoo-commits

commit:     3223bdbfaef6fb8e4720c1cee3e3048517c08826
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sat Oct 29 00:27:47 2022 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sat Oct 29 00:27:47 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3223bdbf

dev-python/wraps: Source updated by upstream

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch   | 16 +++++++++-------
 .../wraps/{wraps-0.1.0.ebuild => wraps-0.1.0-r1.ebuild}  |  4 ++--
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch b/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch
index 8a6de2917..c1b2ccd3e 100644
--- a/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch
+++ b/dev-python/wraps/files/wraps-0.1.0-poetry_groups.patch
@@ -1,14 +1,14 @@
 --- a/pyproject.toml	2022-06-28 11:08:09.624127900 -0400
 +++ b/pyproject.toml	2022-07-11 16:33:14.810411482 -0400
-@@ -37,29 +37,6 @@
+@@ -36,31 +36,6 @@
 
- typing-extensions = ">= 4.2.0"
+ typing-extensions = ">= 4.3.0"
 
 -[tool.poetry.group.format]
 -optional = true
 -
 -[tool.poetry.group.format.dependencies]
--black = "22.6.0"
+-black = "22.8.0"
 -
 -[tool.poetry.group.format.dependencies.isort]
 -version = "5.10.1"
@@ -18,17 +18,19 @@
 -optional = true
 -
 -[tool.poetry.group.check.dependencies]
--mypy = "0.961"
+-mypy = "0.971"
 -
 -[tool.poetry.group.test]
 -optional = true
 -
 -[tool.poetry.group.test.dependencies]
--pytest = "7.1.2"
+-pytest = "7.1.3"
 -pytest-cov = "3.0.0"
+-anyio = "3.6.1"
+-trio = "0.21.0"
 -
- [tool.black]
- line_length = 100
+ [tool.poetry.group.docs]
+ optional = true
 
 @@ -67,29 +44,6 @@
  line_length = 100

diff --git a/dev-python/wraps/wraps-0.1.0.ebuild b/dev-python/wraps/wraps-0.1.0-r1.ebuild
similarity index 83%
rename from dev-python/wraps/wraps-0.1.0.ebuild
rename to dev-python/wraps/wraps-0.1.0-r1.ebuild
index 79df009b5..9ac34a45e 100644
--- a/dev-python/wraps/wraps-0.1.0.ebuild
+++ b/dev-python/wraps/wraps-0.1.0-r1.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1
 
 DESCRIPTION=" Meaningful and safe wrapping types. "
 HOMEPAGE="https://github.com/nekitdev/wraps"
-SRC_URI="https://github.com/nekitdev/wraps/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -24,7 +24,7 @@ RDEPEND="
 	"
 
 PATCHES=(
-	"${FILESDIR}/${P}-includes.patch"
+#	"${FILESDIR}/${P}-includes.patch"
 	"${FILESDIR}/${P}-poetry_groups.patch"
 )
 


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

end of thread, other threads:[~2022-10-29  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29  4:27 [gentoo-commits] proj/sci:master commit in: dev-python/wraps/, dev-python/wraps/files/ Horea Christian
  -- strict thread matches above, loose matches on Subject: below --
2022-07-12 12:31 Horea Christian

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