Skip to content

Commit

Permalink
sci-libs/opencascade: [QA] Fix multiple violations
Browse files Browse the repository at this point in the history
* Overlong DESCRIPTION
* insinto/newins /etc/env.d/

Package-Manager: portage-2.3.2
  • Loading branch information
SoapGentoo committed Nov 6, 2016
1 parent 3540a96 commit 8ba7689
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
7 changes: 3 additions & 4 deletions sci-libs/opencascade/opencascade-6.7.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic

DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="http://www.opencascade.org/"
SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/opencascade-${PV}.tgz"

Expand Down Expand Up @@ -141,8 +141,7 @@ src_install() {
dosym "$(get_libdir)" "${my_install_dir}/lin/lib"
fi

insinto /etc/env.d/${PN}
newins 50${PN} ${PV}
newenvd 50${PN} ${PV}

#cd "${S}"
if use examples ; then
Expand Down
7 changes: 3 additions & 4 deletions sci-libs/opencascade/opencascade-6.8.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic

DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="http://www.opencascade.org/"
SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/opencascade-${PV}.tgz"

Expand Down Expand Up @@ -139,8 +139,7 @@ src_install() {
dosym "$(get_libdir)" "${my_install_dir}/lin/lib"
fi

insinto /etc/env.d/${PN}
newins 50${PN} ${PV}
newenvd 50${PN} ${PV}

if use examples ; then
insinto /usr/share/doc/${PF}/examples
Expand Down
5 changes: 2 additions & 3 deletions sci-libs/opencascade/opencascade-6.9.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI=5

inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic

DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="http://www.opencascade.org/"
SRC_URI="http://files.opencascade.com/OCCT/OCC_${PV}_release/opencascade-${PV}.tgz"

Expand Down Expand Up @@ -144,8 +144,7 @@ src_install() {
dosym "$(get_libdir)" "${my_install_dir}/lin/lib"
fi

insinto /etc/env.d/${PN}
newins 50${PN} ${PV}
newenvd 50${PN} ${PV}

if use examples ; then
insinto /usr/share/doc/${PF}/examples
Expand Down
5 changes: 2 additions & 3 deletions sci-libs/opencascade/opencascade-6.9.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI=5

inherit autotools eutils check-reqs multilib java-pkg-opt-2 flag-o-matic

DESCRIPTION="Software development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange"
HOMEPAGE="http://www.opencascade.org/"
SRC_URI="http://www.opencascade.com/sites/default/files/private/occt/OCC_${PV}_release/opencascade-${PV}.tgz"

Expand Down Expand Up @@ -144,8 +144,7 @@ src_install() {
dosym "$(get_libdir)" "${my_install_dir}/lin/lib"
fi

insinto /etc/env.d/${PN}
newins 50${PN} ${PV}
newenvd 50${PN} ${PV}

if use examples ; then
insinto /usr/share/doc/${PF}/examples
Expand Down

0 comments on commit 8ba7689

Please sign in to comment.