From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autoprop/
Date: Tue, 30 Mar 2021 07:17:15 +0000 (UTC) [thread overview]
Message-ID: <1617088630.fa00c0d361f4d542dccc74bf52dec18ab944fb11.mgorny@gentoo> (raw)
commit: fa00c0d361f4d542dccc74bf52dec18ab944fb11
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 07:10:07 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 07:17:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa00c0d3
dev-python/autoprop: Add python@ as co-maint
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/autoprop/metadata.xml | 44 ++++++++++++++++++++++------------------
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/dev-python/autoprop/metadata.xml b/dev-python/autoprop/metadata.xml
index bf3801e6277..1c5fa89e280 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>
next reply other threads:[~2021-03-30 7:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 7:17 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-18 16:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/autoprop/ Michał Górny
2024-06-18 16:57 Michał Górny
2023-11-23 20:20 Michał Górny
2023-07-27 15:57 Michał Górny
2023-03-16 3:44 Michał Górny
2022-06-16 8:04 Michał Górny
2022-05-31 6:18 Michał Górny
2022-04-11 7:53 Michał Górny
2022-01-29 11:51 Michał Górny
2021-10-17 7:33 Michał Górny
2021-09-16 6:53 Michał Górny
2021-09-11 6:53 Michał Górny
2021-09-11 6:53 Michał Górny
2021-05-27 22:47 Michał Górny
2021-04-06 7:22 Michał Górny
2021-04-02 8:51 Michał Górny
2021-04-01 16:17 Michał Górny
2021-03-30 7:17 Michał Górny
2021-03-15 2:55 Sam James
2020-09-16 4:33 Dennis Lamm
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=1617088630.fa00c0d361f4d542dccc74bf52dec18ab944fb11.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