summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2018-11-25 20:56:35 +0100
committerMichał Górny <mgorny@gentoo.org>2019-04-21 18:10:10 +0200
commitdf9534f6eed2aa48e13b419ab54d502b39b1c96d (patch)
treebf794f1321cd59af3f4888b8a0e7d98ed7b5a953 /app-eselect
parentdev-util/creduce: Sync the live ebuild (diff)
downloadgentoo-df9534f6eed2aa48e13b419ab54d502b39b1c96d.tar.gz
gentoo-df9534f6eed2aa48e13b419ab54d502b39b1c96d.tar.bz2
gentoo-df9534f6eed2aa48e13b419ab54d502b39b1c96d.zip
app-eselect/eselect-opencascade: fix issues from b.g.o
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 <waebbl@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10479 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild (renamed from app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild)4
-rw-r--r--app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect (renamed from app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect)10
-rw-r--r--app-eselect/eselect-opencascade/metadata.xml13
3 files changed, 23 insertions, 4 deletions
diff --git a/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild b/app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild
index c0ef1e3ddc24..4513c529b4a8 100644
--- a/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild
+++ b/app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild
@@ -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/"
diff --git a/app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect b/app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect
index da97cb4a8c33..bf2e0497a170 100644
--- a/app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect
+++ b/app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect
@@ -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.
#
@@ -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="waebbl@gmail.com"
+VERSION="1"
+
MODULE=opencascade
TARGET=${EROOT}/etc/env.d/51${MODULE}
CONFDIR=${EROOT}/etc/env.d/${MODULE}
@@ -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"
diff --git a/app-eselect/eselect-opencascade/metadata.xml b/app-eselect/eselect-opencascade/metadata.xml
index 6f49eba8f496..e0898fe1df72 100644
--- a/app-eselect/eselect-opencascade/metadata.xml
+++ b/app-eselect/eselect-opencascade/metadata.xml
@@ -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>waebbl@gmail.com</email>
+ <name>Bernd Waibel</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers project</name>
+</maintainer>
+<longdescription>
+Utility to switch between the different OpenCASCADE implementations
+on your system.
+</longdescription>
</pkgmetadata>