About
metagen is a command line utility to ease generation of
metadata.xml files
for Gentoo packages.
It is licensed under the
GPL v2 license
and hosted at
gitweb.gentoo.org.
Please use Gentoo's Bugzilla
to report bugs about metagen.
Example
# metagen -e 'somebody@gentoo.org' -n 'Some Body' -t person -f -q
./metadata.xml written
# cat metadata.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>somebody@gentoo.org</email>
<name>Some Body</name>
</maintainer>
</pkgmetadata>
Usage
# COLUMNS=80 metagen --help
usage: metagen [-h] [--version] [--email EMAIL] [--name NAME] [--echangelog]
[--desc DESC] [--type TYPE] [--long LONG] [--output OUTPUT]
[--force] [--verbose] [--quiet] [-Q]
options:
-h, --help show this help message and exit
--version show program's version number and exit
maintainer arguments:
--email EMAIL, -e EMAIL
Maintainer's email address
--name NAME, -n NAME Maintainer's name
--echangelog, -m Use name and email address from ECHANGELOG_USER
environmental variable. This is a shortcut for -e
<email> -n <name>
--desc DESC, -d DESC Description of maintainership
--type TYPE, -t TYPE Maintainer type as of GLEP 67; valid values are:
"person", "project", "unknown"
package arguments:
--long LONG, -l LONG Long description of package.
operation arguments:
--output OUTPUT, -o OUTPUT
Specify location of output file.
--force, -f Force overwrite of existing metadata.
--verbose, -v Verbose. Output of file to stdout. (default)
--quiet, -q Squelch output of file to stdout.
-Q Do not write file to disk.
Release files for metagen 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metagen-0.7.4.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metagen-0.7.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / metagen-0.7.4.tar.gz
| Download URL | metagen-0.7.4.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a5817c9d729e86b2199a840617e11616a873b28e0dadaa6b3c29bafe5c7f9aa
|
|
BLAKE2b-256 checksum How to use checksums |
40950f3a7604b3db513a253b4ca64fac810585b52138e862334218bec9dca0a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|
Release files / metagen-0.7.4-py3-none-any.whl
| Download URL | metagen-0.7.4-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5736f60620c37f9978dcff86316f105865c3592d762524ddc9665ae174be7fbc
|
|
BLAKE2b-256 checksum How to use checksums |
0f14ebe24f4be3dac367b88c5ce62d3fe1dfa65ce902c6b54184af34cbf3f5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|