jlec        14/10/09 07:04:11

  Modified:             metadata.xml ChangeLog
  Added:                libsolv-0.6.6.ebuild
  Log:
  dev-libs/libsolv: Version BUmp
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key B9D4F231BD1558AB!)

Revision  Changes    Path
1.2                  dev-libs/libsolv/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/metadata.xml?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/metadata.xml?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libsolv/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml        22 Jul 2013 04:14:06 -0000      1.1
+++ metadata.xml        9 Oct 2014 07:04:11 -0000       1.2
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>suse</herd>
+  <herd>suse</herd>
 </pkgmetadata>
-



1.5                  dev-libs/libsolv/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libsolv/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   24 Jul 2013 20:15:37 -0000      1.4
+++ ChangeLog   9 Oct 2014 07:04:11 -0000       1.5
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/libsolv
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsolv/ChangeLog,v 1.4 2013/07/24 
20:15:37 scarabeus Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsolv/ChangeLog,v 1.5 2014/10/09 
07:04:11 jlec Exp $
+
+*libsolv-0.6.6 (09 Oct 2014)
+
+  09 Oct 2014; Justin Lecher <[email protected]> +libsolv-0.6.6.ebuild,
+  metadata.xml:
+  Version BUmp
 
   24 Jul 2013; Tomáš Chvátal <[email protected]> libsolv-0.3.0.ebuild:
   Fix S declaration, respect LDFLAGS on one more lib, fix mandir placement.



1.1                  dev-libs/libsolv/libsolv-0.6.6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/libsolv-0.6.6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libsolv/libsolv-0.6.6.ebuild?rev=1.1&content-type=text/plain

Index: libsolv-0.6.6.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsolv/libsolv-0.6.6.ebuild,v 1.1 
2014/10/09 07:04:11 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )
USE_RUBY=( ruby19 )
RUBY_OPTIONAL=yes
inherit python-single-r1 ruby-ng perl-module cmake-utils

DESCRIPTION="Library for solving packages and reading repositories"
HOMEPAGE="http://doc.opensuse.org/projects/libzypp/HEAD/ 
https://github.com/openSUSE/libsolv";
SRC_URI="https://github.com/openSUSE/libsolv/archive/${PV}.tar.gz -> 
${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="bzip2 lzma perl python ruby"

RDEPEND="
        app-arch/rpm
        dev-libs/expat
        sys-libs/db
        sys-libs/zlib
        virtual/udev
        bzip2? ( app-arch/bzip2 )
        lzma? ( app-arch/xz-utils )
        python? (
                ${PYTHON_DEPS}
                dev-lang/swig:0
        )
        perl? (
                dev-lang/perl
                dev-lang/swig:0
        )
        ruby? (
                $(ruby_implementations_depend)
                dev-lang/swig:0
        )
"
DEPEND="${DEPEND}
        sys-devel/gettext
"

# ruby eclass :/
S="${WORKDIR}/${P}/"

pkg_setup() {
        use python && python-any-r1_pkg_setup
        use perl && perl-module_pkg_setup
        use ruby && ruby-ng_pkg_setup
}

src_prepare() {
        # Enabling suse features also mess up headers detection
        # Can't be fixed upstream
        sed -i \
                -e "s:include <rpm/db.h>:include <db.h>:g" \
                ext/repo_rpmdb.c || die
        # respect ldflags ; fixed in next release
        sed \
                -e 's:LINK_FLAGS}:LINK_FLAGS} ${CMAKE_SHARED_LINKER_FLAGS}:g' \
                -i src/CMakeLists.txt \
                -i ext/CMakeLists.txt || die
        # mandir install ; won't be fixed upstream :-/
        sed -i \
                -e 's:MAN_INSTALL_DIR 
"${CMAKE_INSTALL_PREFIX}/man":MAN_INSTALL_DIR 
"${CMAKE_INSTALL_PREFIX}/share/man":g' \
                CMakeLists.txt || die
}

src_configure() {
        local mycmakeargs=(
                "-DSUSE=1"
                "-DENABLE_SUSEREPO=1"
                "-DENABLE_HELIXREPO=1"
                "-DUSE_VENDORDIRS=1"
                $(cmake-utils_use_enable bzip2 ENABLE_BZIP2_COMPRESSION)
                $(cmake-utils_use_enable lzma ENABLE_LZMA_COMPRESSION)
                $(cmake-utils_use_enable perl PERL)
                $(cmake-utils_use_enable python PYTHON)
                $(cmake-utils_use_enable ruby RUBY)
        )

        cmake-utils_src_configure
}

src_install() {
        cmake-utils_src_install

        use perl && fixlocalpod
}




Reply via email to