Skip to content

Commit

Permalink
app-eselect/eselect-opencascade: fix issues from b.g.o
Browse files Browse the repository at this point in the history
Add DESCRIPTION, MAINTAINER and VERSION variables, and implement
a describe_list() function.
Update metadata.xml

Closes: https://bugs.gentoo.org/504632
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Bernd Waibel <[email protected]>
Closes: gentoo#10479
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
waebbl authored and mgorny committed Apr 21, 2019
1 parent 8166a36 commit df9534f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=4
EAPI=7

DESCRIPTION="Manages opencascade env file"
HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*-eselect-*- vim: ft=eselect
# Copyright (c) 2006-2013 Gentoo Foundation
# Copyright (c) 2006-2019 Gentoo Authors
#
# This file is part of the 'eselect' tools framework.
#
Expand All @@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License along with
# eselect. If not, see <http://www.gnu.org/licenses/>.

DESCRIPTION="Manage OpenCASCADE implementation used by your system"
MAINTAINER="[email protected]"
VERSION="1"

MODULE=opencascade
TARGET=${EROOT}/etc/env.d/51${MODULE}
CONFDIR=${EROOT}/etc/env.d/${MODULE}
Expand Down Expand Up @@ -53,6 +57,10 @@ switch_implem() {
echo ". /etc/profile"
}

describe_list() {
echo "List available OpenCASCADE implementations"
}

do_list() {
local implem i
write_list_start "Installed $MODULE"
Expand Down
13 changes: 12 additions & 1 deletion app-eselect/eselect-opencascade/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>[email protected]</email>
<name>Bernd Waibel</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers project</name>
</maintainer>
<longdescription>
Utility to switch between the different OpenCASCADE implementations
on your system.
</longdescription>
</pkgmetadata>

0 comments on commit df9534f

Please sign in to comment.