summaryrefslogtreecommitdiff
path: root/dev-python/autoprop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/autoprop
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/autoprop')
-rw-r--r--dev-python/autoprop/Manifest10
-rw-r--r--dev-python/autoprop/autoprop-2.0.0.ebuild20
-rw-r--r--dev-python/autoprop/autoprop-2.1.0.ebuild24
-rw-r--r--dev-python/autoprop/autoprop-2.1.1.ebuild24
-rw-r--r--dev-python/autoprop/autoprop-2.2.0.ebuild24
-rw-r--r--dev-python/autoprop/metadata.xml44
6 files changed, 125 insertions, 21 deletions
diff --git a/dev-python/autoprop/Manifest b/dev-python/autoprop/Manifest
index 38ce4bbe67cb..9f13b2baeec0 100644
--- a/dev-python/autoprop/Manifest
+++ b/dev-python/autoprop/Manifest
@@ -1,3 +1,11 @@
DIST autoprop-1.0.2.tar.gz 11040 BLAKE2B b53bdbf79947002a0c319fa84c6033908948365d18a85dd2fd4139bff2125752e0bc3fc8f19e5d38c06cdc089f423cc8a720b8040593cfbda9c04c84b7cd4ffd SHA512 281c30fded6d79ed3bbb0de5b7a37c2cc5b985a4980974503b5bbb5940cd22f3c09c3b3d9d513d5cb95239519519b277bf43536407fedb593a43122ee32a8db6
+DIST autoprop-2.0.0.tar.gz 11705 BLAKE2B 0dd6401671250f9445aaaf20345035bec683eb7e7e3889ee6c89bbefd76bff9112c848ab4b95c47f09f2487af92c3c6a3404be17bc57f47c9be33f36ec369175 SHA512 7e2f9d2d950ac8f2b0e73b483940590dbb6eb342a36204cc36fff219375eb223c62d5c0dc864b0d1212593919f1625cd282f0467a5bf84d5c1e5c158cfcf6cc1
+DIST autoprop-2.1.0.tar.gz 13258 BLAKE2B a08431a87067463278276974326ca81a8c0150193fd3a03fdc2ab422b836655a11f759154fdeeaf834bc379163e167d4815358aaefdc83a76ab4dfa87b6efee5 SHA512 c30ee4bf85d139abf1be2e7b0217bc6f394ba289ccdad423c97f1d27f472ce00eaef2be0f3cdf1c9022c6edc56006d5834d1afd6ef2c5ee2ec124eb5bf679652
+DIST autoprop-2.1.1.tar.gz 13794 BLAKE2B 63645d0d8f9d49f5df730dca18c468e3dea7108e01cf12f6de6d80ad6cf8b5d396957d4a0cd82c737c0b12274a8534e6f48120ef1118c0fb34dba529dc74f081 SHA512 39db6c1130d0b958713f15efcd75ecbbb41659f5f7182be37f1dca22a46c18832d0f7893fadfbf4e8ad9f446417a2476e7dc7890124c9caabd6b5dde37eb7c6f
+DIST autoprop-2.2.0.tar.gz 13939 BLAKE2B b30565618cab67c5a3b9f94958a8f4734d60c048067f73a007fdb9d34555337f92776cac221c89e0067851d59b21f157b4bc1d24fdcaf3e3ae677c31c8a32cc9 SHA512 d8ef758b0d097ddb73cb384075d3d2b0d59191cd12d59a54cc449483da94ab116c75b39cf48d3d262b147e855af1806a0c617ba220f435118d636cd6f283c51e
EBUILD autoprop-1.0.2.ebuild 433 BLAKE2B bdb7b42769da05c744bd5d0cef90ca4cd306c55ad14825f161c440a7c6d7f4868048ccf0640fc381542b6d724ddf6fdde1e3476abbffbd6566fafe1480faf3e7 SHA512 0f1e41541307ccc4ac2216ce355b8b67fe02a862346ce43f9d643d621ac1ddabd048026259de1d4d02f803e4996ec8aba04beda2e63ef26c6850925e00ed2164
-MISC metadata.xml 1373 BLAKE2B 1834b80ae221a533414a6fa59a1d7ab6974306069a96cc1e7c61321b6c038a6451e897a77bb662617dcd3e8b80da5411ba5f2d47708496928310e0e09a4339cd SHA512 c9bef2ca18ddcb333df280a7fa4aacdcfd729e0f19164d5577fd4fc01ec904d068fda24cd8fe724c6dcf4785167b1df4450f096555c80e715b262ab11487ce86
+EBUILD autoprop-2.0.0.ebuild 437 BLAKE2B de766ec1f301da0572c5818943b05b966a2369724bc7258ef5385d4d33808afb00f1d59dc84bce637771d926820d45d4598f39bc6c474652ef359e0512bbf496 SHA512 332af04f83fee78b0c6e17f60c949a6e3ae1a55acbbb875e923e04eeedbee5a6ced6c7638d41d91ab5bb8ba69c83ac35fe7f876f484282f55f000bef6e6a216f
+EBUILD autoprop-2.1.0.ebuild 526 BLAKE2B 7029bcaff23e9cb90aa3d0dff2205df2af827917b24334e010bab5e4ab83ee5c2a53f6e414e88197ad706629351d0e44daf920ee247e670c315417facd6c90aa SHA512 7e06181d70a0f4571bf87aae79d1428d3d03e3e12afb809bb9067f52d2948ddf0474c8de49446aa0b5cb554fd0590d7ae8e4ac3dd84ddfbc55f1cee942a1b5e3
+EBUILD autoprop-2.1.1.ebuild 526 BLAKE2B 7029bcaff23e9cb90aa3d0dff2205df2af827917b24334e010bab5e4ab83ee5c2a53f6e414e88197ad706629351d0e44daf920ee247e670c315417facd6c90aa SHA512 7e06181d70a0f4571bf87aae79d1428d3d03e3e12afb809bb9067f52d2948ddf0474c8de49446aa0b5cb554fd0590d7ae8e4ac3dd84ddfbc55f1cee942a1b5e3
+EBUILD autoprop-2.2.0.ebuild 526 BLAKE2B 7029bcaff23e9cb90aa3d0dff2205df2af827917b24334e010bab5e4ab83ee5c2a53f6e414e88197ad706629351d0e44daf920ee247e670c315417facd6c90aa SHA512 7e06181d70a0f4571bf87aae79d1428d3d03e3e12afb809bb9067f52d2948ddf0474c8de49446aa0b5cb554fd0590d7ae8e4ac3dd84ddfbc55f1cee942a1b5e3
+MISC metadata.xml 1375 BLAKE2B ffdadb28cf5c0d998c10efe33628ff9fa6c1a7c5eaf94d40e990838a37180bcf00357ecde94a2650e76b10877663aeda9b4d5ebdde97eb46fa381e9bd5152098 SHA512 d6eb2de762ef76247113ed312dbbd8576000f966b1fe224293bc4a7debd3ff6b87370f5eafe62dd6596b99cb77a995cf5ea1be834d7c5096a8885acf8747bd75
diff --git a/dev-python/autoprop/autoprop-2.0.0.ebuild b/dev-python/autoprop/autoprop-2.0.0.ebuild
new file mode 100644
index 000000000000..ca29913dfd5f
--- /dev/null
+++ b/dev-python/autoprop/autoprop-2.0.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Infer properties from accessor methods"
+HOMEPAGE="
+ https://github.com/kalekundert/autoprop/
+ https://pypi.org/project/autoprop/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+
+distutils_enable_tests pytest
diff --git a/dev-python/autoprop/autoprop-2.1.0.ebuild b/dev-python/autoprop/autoprop-2.1.0.ebuild
new file mode 100644
index 000000000000..37bed53e6f45
--- /dev/null
+++ b/dev-python/autoprop/autoprop-2.1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Infer properties from accessor methods"
+HOMEPAGE="
+ https://github.com/kalekundert/autoprop/
+ https://pypi.org/project/autoprop/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="
+ dev-python/signature_dispatch[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/autoprop/autoprop-2.1.1.ebuild b/dev-python/autoprop/autoprop-2.1.1.ebuild
new file mode 100644
index 000000000000..37bed53e6f45
--- /dev/null
+++ b/dev-python/autoprop/autoprop-2.1.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Infer properties from accessor methods"
+HOMEPAGE="
+ https://github.com/kalekundert/autoprop/
+ https://pypi.org/project/autoprop/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="
+ dev-python/signature_dispatch[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/autoprop/autoprop-2.2.0.ebuild b/dev-python/autoprop/autoprop-2.2.0.ebuild
new file mode 100644
index 000000000000..37bed53e6f45
--- /dev/null
+++ b/dev-python/autoprop/autoprop-2.2.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Infer properties from accessor methods"
+HOMEPAGE="
+ https://github.com/kalekundert/autoprop/
+ https://pypi.org/project/autoprop/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="
+ dev-python/signature_dispatch[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/autoprop/metadata.xml b/dev-python/autoprop/metadata.xml
index bf3801e62778..1c5fa89e280e 100644
--- a/dev-python/autoprop/metadata.xml
+++ b/dev-python/autoprop/metadata.xml
@@ -1,26 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>3dprint@gentoo.org</email>
- <name>Gentoo 3D Printer Project</name>
- </maintainer>
- <stabilize-allarches/>
- <longdescription>
- Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as
- regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results,
- lazily load data, maintain invariants, or react in any other way to attribute access.
+ <maintainer type="project">
+ <email>3dprint@gentoo.org</email>
+ <name>Gentoo 3D Printer Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <longdescription>
+ Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as
+ regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results,
+ lazily load data, maintain invariants, or react in any other way to attribute access.
- Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to
- do it, but the most common and most succinct requires you to decorate two functions
- (with two different decorators) and to type the name of the attribute three times.
+ Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to
+ do it, but the most common and most succinct requires you to decorate two functions
+ (with two different decorators) and to type the name of the attribute three times.
- The autoprop module simplifies this process by searching your class for accessor methods and adding properties
- corresponding to any such methods it finds.
- </longdescription>
- <upstream>
- <bugs-to>https://github.com/kalekundert/autoprop/issues</bugs-to>
- <remote-id type="github">kalekundert/autoprop</remote-id>
- <remote-id type="pypi">autoprop</remote-id>
- </upstream>
+ The autoprop module simplifies this process by searching your class for accessor methods and adding properties
+ corresponding to any such methods it finds.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/kalekundert/autoprop/issues</bugs-to>
+ <remote-id type="github">kalekundert/autoprop</remote-id>
+ <remote-id type="pypi">autoprop</remote-id>
+ </upstream>
</pkgmetadata>