Skip to main content

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)

Source distribution for metagen 0.7.4
File Size Uploaded
metagen-0.7.4.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metagen 0.7.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 release files

0.7.3

2 release files

0.7.2

3 release files

0.7.1

3 release files

0.5.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page