1 |
commit: fa00c0d361f4d542dccc74bf52dec18ab944fb11 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 07:10:07 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 07:17:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa00c0d3 |
7 |
|
8 |
dev-python/autoprop: Add python@ as co-maint |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/autoprop/metadata.xml | 44 ++++++++++++++++++++++------------------ |
13 |
1 file changed, 24 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/autoprop/metadata.xml b/dev-python/autoprop/metadata.xml |
16 |
index bf3801e6277..1c5fa89e280 100644 |
17 |
--- a/dev-python/autoprop/metadata.xml |
18 |
+++ b/dev-python/autoprop/metadata.xml |
19 |
@@ -1,26 +1,30 @@ |
20 |
<?xml version="1.0" encoding="UTF-8"?> |
21 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
22 |
<pkgmetadata> |
23 |
- <maintainer type="project"> |
24 |
- <email>3dprint@g.o</email> |
25 |
- <name>Gentoo 3D Printer Project</name> |
26 |
- </maintainer> |
27 |
- <stabilize-allarches/> |
28 |
- <longdescription> |
29 |
- Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as |
30 |
- regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, |
31 |
- lazily load data, maintain invariants, or react in any other way to attribute access. |
32 |
+ <maintainer type="project"> |
33 |
+ <email>3dprint@g.o</email> |
34 |
+ <name>Gentoo 3D Printer Project</name> |
35 |
+ </maintainer> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>python@g.o</email> |
38 |
+ <name>Python</name> |
39 |
+ </maintainer> |
40 |
+ <stabilize-allarches/> |
41 |
+ <longdescription> |
42 |
+ Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as |
43 |
+ regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, |
44 |
+ lazily load data, maintain invariants, or react in any other way to attribute access. |
45 |
|
46 |
- Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to |
47 |
- do it, but the most common and most succinct requires you to decorate two functions |
48 |
- (with two different decorators) and to type the name of the attribute three times. |
49 |
+ Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to |
50 |
+ do it, but the most common and most succinct requires you to decorate two functions |
51 |
+ (with two different decorators) and to type the name of the attribute three times. |
52 |
|
53 |
- The autoprop module simplifies this process by searching your class for accessor methods and adding properties |
54 |
- corresponding to any such methods it finds. |
55 |
- </longdescription> |
56 |
- <upstream> |
57 |
- <bugs-to>https://github.com/kalekundert/autoprop/issues</bugs-to> |
58 |
- <remote-id type="github">kalekundert/autoprop</remote-id> |
59 |
- <remote-id type="pypi">autoprop</remote-id> |
60 |
- </upstream> |
61 |
+ The autoprop module simplifies this process by searching your class for accessor methods and adding properties |
62 |
+ corresponding to any such methods it finds. |
63 |
+ </longdescription> |
64 |
+ <upstream> |
65 |
+ <bugs-to>https://github.com/kalekundert/autoprop/issues</bugs-to> |
66 |
+ <remote-id type="github">kalekundert/autoprop</remote-id> |
67 |
+ <remote-id type="pypi">autoprop</remote-id> |
68 |
+ </upstream> |
69 |
</pkgmetadata> |