Metadata.xml Generator for Ebuilds
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metagen-0.7.4.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file metagen-0.7.4.tar.gz
.
File metadata
- Download URL: metagen-0.7.4.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5817c9d729e86b2199a840617e11616a873b28e0dadaa6b3c29bafe5c7f9aa |
|
MD5 | 08fedf37e41be30da2689c74cf53829f |
|
BLAKE2b-256 | 40950f3a7604b3db513a253b4ca64fac810585b52138e862334218bec9dca0a4 |
File details
Details for the file metagen-0.7.4-py3-none-any.whl
.
File metadata
- Download URL: metagen-0.7.4-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5736f60620c37f9978dcff86316f105865c3592d762524ddc9665ae174be7fbc |
|
MD5 | 6e363a1e9d859fe7c062a5d55b771102 |
|
BLAKE2b-256 | 0f14ebe24f4be3dac367b88c5ce62d3fe1dfa65ce902c6b54184af34cbf3f5ae |