commit:     0194711a1a1726a67d3923e00ff6da7212456033
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 17 12:17:31 2016 +0000
Commit:     Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 12:18:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0194711a

dev-vcs/fossil: version bump

Upstream has changed their release format from YYYYYmmDDHHMMSS to
MAJOR.MINOR. Unfortunately, this means this version bump will appear
to be a downgrade.

Bug: 548284

Package-Manager: portage-2.2.26

 dev-vcs/fossil/Manifest           |  1 +
 dev-vcs/fossil/fossil-1.34.ebuild | 55 +++++++++++++++++++++++++++++++++++++++
 dev-vcs/fossil/metadata.xml       | 13 +++++++++
 3 files changed, 69 insertions(+)

diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest
index 6c1db49..b7d5903 100644
--- a/dev-vcs/fossil/Manifest
+++ b/dev-vcs/fossil/Manifest
@@ -1 +1,2 @@
+DIST fossil-src-1.34.tar.gz 4449452 SHA256 
53a6b83e878feced9ac7705f87e5b6ea82727314e3e19202ae1c46c7e4dba49f SHA512 
7c2677566527466727e823e5bf59f636b5fd08dd1093a742c3f7f72d398d380288030c3a573ae3c66c60f1e8c194f36f5987fa835251d7ced10533b9779578d7
 WHIRLPOOL 
cb00af705b1f4376e09129091154f847da62817548d1838c03c34422eb223704e8a92cee5038a5cf5f75c600d55ce23fd681ca82f1f0e854b42b23b7c82bc66e
 DIST fossil-src-20150119112900.tar.gz 3973184 SHA256 
37969e5a09c1611199921e3518a4ed736fd637a02f2d5810cd45897a4ceb92dc SHA512 
9bee82916d98b5d7d81e200ec6616c1e463540de254464a559254ee117a99492a0080003645a99ef93cc551395e38b93dfb12728abbbdbf468f5c2743f67718e
 WHIRLPOOL 
19175692472913bc94bf993956c1e0b8510ff33d6df2c168acf700e64b6f4e62eed34a4888c38e093eabfe582224edf5b7e03dc652b5f1e8824b9e8e5608d492

diff --git a/dev-vcs/fossil/fossil-1.34.ebuild 
b/dev-vcs/fossil/fossil-1.34.ebuild
new file mode 100644
index 0000000..03ca17f
--- /dev/null
+++ b/dev-vcs/fossil/fossil-1.34.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P=${PN}-src-${PV}
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple, high-reliability, source control management, and more"
+HOMEPAGE="http://www.fossil-scm.org/";
+SRC_URI="http://www.fossil-scm.org/download/${MY_P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug fusefs json legacy-mv-rm miniz sqlite +ssl static tcl th1-docs 
th1-hooks"
+
+DEPEND="
+       sys-libs/zlib
+       || ( sys-libs/readline:0 dev-libs/libedit )
+       sqlite? ( dev-db/sqlite:3 )
+       ssl? ( dev-libs/openssl:0 )
+       tcl? ( dev-lang/tcl:0= )
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+       # this is not an autotools situation so don't make it seem like one
+       # --with-tcl: works
+       # --without-tcl: dies
+       local myconf="--with-openssl=$(usex ssl auto none)"
+       use debug && myconf+=' --fossil-debug'
+       use json   && myconf+=' --json'
+       use sqlite && myconf+=' --disable-internal-sqlite'
+       use static && myconf+=' --static'
+       use tcl    && myconf+=' --with-tcl --with-tcl-stubs'
+
+       local u
+       for u in legacy-mv-rm miniz th1-docs th1-hooks; do
+               use ${u} &&  myconf+=" --with-${u}"
+       done
+
+       use fusefs || myconf+=' --disable-fusefs'
+
+       tc-export CC
+       ./configure ${myconf} || die
+}
+
+src_install() {
+       dobin fossil
+}

diff --git a/dev-vcs/fossil/metadata.xml b/dev-vcs/fossil/metadata.xml
index 9068838..984129b 100644
--- a/dev-vcs/fossil/metadata.xml
+++ b/dev-vcs/fossil/metadata.xml
@@ -11,10 +11,23 @@
         <description>Co-Maintainer</description>
     </maintainer>
     <use>
+        <flag name="fusefs">Enable the Fuse Filesystem</flag>
         <flag name="json">Enable the JSON API of Fossil's wiki</flag>
+        <flag name="legacy-mv-rm">
+               Enable legacy behavior for mv/rm (skip checkout files)
+        </flag>
         <flag name="lineedit">Enable line-editing with libedit or 
readline</flag>
+        <flag name="miniz">
+               Use the bundled miniz for compression instead of zlib
+        </flag>
         <flag name="sqlite">
             Use the system SQLite instead of the bundled one
         </flag>
+        <flag name="th1-docs">
+               Enable TH1 for embedded documentation pages
+        </flag>
+        <flag name="th1-hooks">
+               Enable TH1 hooks for commands and web pages
+        </flag>
     </use>
 </pkgmetadata>

Reply via email to