sci-libs/io_lib: Ebuild cleanup
authorDavid Seifert <soap@gentoo.org>
Thu, 26 Apr 2018 10:12:57 +0000 (12:12 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 26 Apr 2018 10:12:57 +0000 (12:12 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

sci-libs/io_lib/io_lib-1.14.7.ebuild
sci-libs/io_lib/metadata.xml

index f1475e7799183802e7f73fdeb167dd61b349a0e4..61c5170f0012eafd91b8b7465cb573579b4a5ecb 100644 (file)
@@ -1,27 +1,26 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
-
 DESCRIPTION="General purpose trace and experiment file reading/writing interface"
 HOMEPAGE="http://staden.sourceforge.net/"
 SRC_URI="mirror://sourceforge/staden/${P}.tar.gz"
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/11"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
-DEPEND="
-       net-misc/curl
-       sys-libs/zlib"
-RDEPEND="${DEPEND}"
+RDEPEND="
+       app-arch/bzip2:=
+       app-arch/xz-utils:=
+       net-misc/curl:=
+       sys-libs/zlib:="
+DEPEND="${RDEPEND}"
 
 # tests fails and might need sci-biology/staden from
 # the science overlay
-
 RESTRICT="test"
 
 src_configure() {
@@ -30,6 +29,9 @@ src_configure() {
 
 src_install() {
        default
-       use static-libs || prune_libtool_files
        dodoc docs/{Hash_File_Format,ZTR_format}
+
+       if ! use static-libs; then
+               find "${D}" \( -name '*.la' -o -name '*.a' \) -delete || die
+       fi
 }
index a88279ec5d96695e01b5f86dd2b46868972b469a..e4325132e2d2f02124d321de71ffb0aeab01a811 100644 (file)
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>sci@gentoo.org</email>
-    <name>Gentoo Science Project</name>
-  </maintainer>
-  <longdescription>
-  io_lib is a library of file reading and writing code to provide a
-  general purpose trace file (and Experiment File) reading interface. The
-  programmer simply calls the (eg) read_reading to create a "Read" C structure
-  with the data loaded into memory.
-</longdescription>
-  <upstream>
-    <remote-id type="sourceforge">staden</remote-id>
-  </upstream>
+       <maintainer type="project">
+               <email>sci@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <longdescription>
+               io_lib is a library of file reading and writing code to provide a
+               general purpose trace file (and Experiment File) reading interface. The
+               programmer simply calls the (eg) read_reading to create a "Read" C structure
+               with the data loaded into memory.
+       </longdescription>
+       <upstream>
+               <remote-id type="sourceforge">staden</remote-id>
+       </upstream>
 </pkgmetadata>