diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-07-22 15:18:50 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-07-22 15:18:50 +0000 |
commit | 4498fda2ac17361271b13ea7212cc7eb72714d5a (patch) | |
tree | ac277ac0e9616a1de03614dc652ddc73f594ab71 /app-i18n/uim-svn | |
parent | ppc stable, bug #140718 (diff) | |
download | gentoo-2-4498fda2ac17361271b13ea7212cc7eb72714d5a.tar.gz gentoo-2-4498fda2ac17361271b13ea7212cc7eb72714d5a.tar.bz2 gentoo-2-4498fda2ac17361271b13ea7212cc7eb72714d5a.zip |
use subversion_wc_info in pkg_setup.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'app-i18n/uim-svn')
-rw-r--r-- | app-i18n/uim-svn/ChangeLog | 5 | ||||
-rw-r--r-- | app-i18n/uim-svn/uim-svn-20060320.ebuild | 18 |
2 files changed, 13 insertions, 10 deletions
diff --git a/app-i18n/uim-svn/ChangeLog b/app-i18n/uim-svn/ChangeLog index 53b3ebfe4beb..eee88adf4260 100644 --- a/app-i18n/uim-svn/ChangeLog +++ b/app-i18n/uim-svn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-i18n/uim-svn # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.23 2006/07/12 13:49:47 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.24 2006/07/22 15:18:50 hattya Exp $ + + 22 Jul 2006; Akinori Hattori <hattya@gentoo.org> uim-svn-20060320.ebuild: + use subversion_wc_info in pkg_setup. 12 Jul 2006; Akinori Hattori <hattya@gentoo.org> uim-svn-20060320.ebuild: use emake for install. and change sys-apps/gettext -> virtual/libintl. diff --git a/app-i18n/uim-svn/uim-svn-20060320.ebuild b/app-i18n/uim-svn/uim-svn-20060320.ebuild index fd5a50d51001..7a9655eeea3b 100644 --- a/app-i18n/uim-svn/uim-svn-20060320.ebuild +++ b/app-i18n/uim-svn/uim-svn-20060320.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20060320.ebuild,v 1.6 2006/07/12 13:49:47 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-20060320.ebuild,v 1.7 2006/07/22 15:18:50 hattya Exp $ inherit elisp-common flag-o-matic kde-functions multilib subversion @@ -20,7 +20,10 @@ SLOT="0" DEPEND="${RDEPEND} >=dev-util/intltool-0.31 - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) + X? ( || ( ( + x11-proto/xextproto + x11-proto/xproto + ) virtual/x11 ) ) nls? ( virtual/libintl )" RDEPEND="!app-i18n/uim @@ -45,15 +48,12 @@ RDEPEND="!app-i18n/uim pkg_setup() { - local co_dir="${ESVN_STORE_DIR}/uim/trunk" - - [ ! -e "${co_dir}" ] && return - - local repo_uri=$(LANG=C svn info "${co_dir}" | grep "^URL" | cut -d" " -f2) + subversion_wc_info - if [[ "${repo_uri}" != "${ESVN_REPO_URI}" ]]; then - die "Please remove ${co_dir}." + [[ $? -ne 0 ]] && return + if [[ "${ESVN_WC_URL}" != "${ESVN_REPO_URI}" ]]; then + die "Please remove your working copy." fi } |