public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Raty (betelgeuse)" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/sitecopy: ChangeLog sitecopy-0.16.3_p17.ebuild
Date: Fri, 28 Aug 2009 21:40:25 +0000	[thread overview]
Message-ID: <E1Mh9BJ-0002T0-2k@stork.gentoo.org> (raw)

betelgeuse    09/08/28 21:40:25

  Modified:             ChangeLog sitecopy-0.16.3_p17.ebuild
  Log:
  Migrate to EAPI 2 in order to get rid of built_with_use.
  (Portage version: 2.2_rc38/cvs/Linux i686)

Revision  Changes    Path
1.51                 net-misc/sitecopy/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/ChangeLog?rev=1.51&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/ChangeLog?rev=1.51&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/ChangeLog?r1=1.50&r2=1.51

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog	30 Jun 2008 20:40:11 -0000	1.50
+++ ChangeLog	28 Aug 2009 21:40:24 -0000	1.51
@@ -1,6 +1,10 @@
 # ChangeLog for net-misc/sitecopy
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.50 2008/06/30 20:40:11 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/ChangeLog,v 1.51 2009/08/28 21:40:24 betelgeuse Exp $
+
+  28 Aug 2009; Petteri Räty <betelgeuse@gentoo.org>
+  sitecopy-0.16.3_p17.ebuild:
+  Migrate to EAPI 2 in order to get rid of built_with_use.
 
   30 Jun 2008; Raúl Porcel <armin76@gentoo.org>
   -files/0.16.3-neon-28.patch, -sitecopy-0.16.3.ebuild,



1.4                  net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild?r1=1.3&r2=1.4

Index: sitecopy-0.16.3_p17.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sitecopy-0.16.3_p17.ebuild	30 Jun 2008 20:40:11 -0000	1.3
+++ sitecopy-0.16.3_p17.ebuild	28 Aug 2009 21:40:24 -0000	1.4
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild,v 1.3 2008/06/30 20:40:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild,v 1.4 2009/08/28 21:40:24 betelgeuse Exp $
+
+EAPI="2"
 
 inherit eutils autotools
 
@@ -18,38 +20,18 @@
 LICENSE="GPL-2"
 SLOT="0"
 DEPEND="rsh? ( net-misc/netkit-rsh )
-	>=net-misc/neon-0.24.6"
+	>=net-misc/neon-0.24.6[zlib?,ssl?,expat?]
+	xml? ( >=net-misc/neon-0.24.6[-expat] )"
 
 S="${WORKDIR}"/${MY_P/_/-}
 
-pkg_setup() {
-	if use zlib ; then
-		built_with_use net-misc/neon zlib || die "neon needs zlib support"
-	fi
-
-	if use ssl ; then
-		built_with_use net-misc/neon ssl || die "neon needs ssl support"
-		myconf="${myconf} --with-ssl=openssl"
-	fi
-
-	if use expat ; then
-		built_with_use net-misc/neon expat || die "neon needs expat support"
-	fi
-
-	if use xml ; then
-		built_with_use net-misc/neon expat && die "neon needs expat support disabled for
-		libxml2 support to be enabled"
-	fi
-}
-
-src_unpack() {
-	unpack ${A}
-
+src_prepare() {
+	cd "${WORKDIR}" || die
 	# Debian patches
 	epatch ${MY_P}-${DEB_PL}.diff
 	epatch "${S}"/debian/patches/*.dpatch
 
-	cd "${S}"
+	cd "${S}" || die
 
 	# Make it work with neon .29
 	epatch "${FILESDIR}"/${PV}-neon-29.patch
@@ -62,8 +44,9 @@
 	eautomake
 }
 
-src_compile() {
-	econf ${myconf} \
+src_configure() {
+	econf \
+			$(use_with ssl ssl openssl) \
 			$(use_enable webdav) \
 			$(use_enable nls) \
 			$(use_enable rsh) \
@@ -71,8 +54,6 @@
 			$(use_with xml libxml2 ) \
 			--with-neon \
 			|| die "econf failed"
-
-	emake || die "eake failed"
 }
 
 src_install() {






             reply	other threads:[~2009-08-28 16:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28 21:40 Petteri Raty (betelgeuse) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-24  7:58 [gentoo-commits] gentoo-x86 commit in net-misc/sitecopy: ChangeLog sitecopy-0.16.3_p17.ebuild Ian Delaney (idella4)
2010-06-22 20:06 Arfrever Frehtes Taifersar Arahesis (arfrever)
2010-01-07 15:58 Christian Faulhammer (fauli)
2009-12-01 10:32 Markus Meier (maekke)
2008-06-14 13:21 Gysbert Wassenaar (nixnut)
2008-04-09 18:14 Raul Porcel (armin76)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Mh9BJ-0002T0-2k@stork.gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox