From ba20ff671e510cb8cde64a7127f3fc64a0a354f9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 9 Jun 2011 12:39:41 -0400 Subject: [PATCH] Add ASTranslate ebuild (much like the ASDictionary ebuild). --- dev-python/astranslate/Manifest | 1 + .../astranslate/astranslate-9999.ebuild | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/astranslate/Manifest create mode 100644 dev-python/astranslate/astranslate-9999.ebuild diff --git a/dev-python/astranslate/Manifest b/dev-python/astranslate/Manifest new file mode 100644 index 0000000..eb622d9 --- /dev/null +++ b/dev-python/astranslate/Manifest @@ -0,0 +1 @@ +EBUILD astranslate-9999.ebuild 831 RMD160 7373b715508f8f132a83e87ecff310423c9b4904 SHA1 800b2096b9fced4cf4b11765d644cdabaf6f9e6d SHA256 979d440fa4659ce772b09a2e4f56e2e513718c02b915814042813136dad70d75 diff --git a/dev-python/astranslate/astranslate-9999.ebuild b/dev-python/astranslate/astranslate-9999.ebuild new file mode 100644 index 0000000..f6817be --- /dev/null +++ b/dev-python/astranslate/astranslate-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +PYTHON_DEPEND="*" +SUPPORT_PYTHON_ABIS="1" + +inherit subversion python + +MY_PN="ASTranslate" + +DESCRIPTION="Convert AppleScript into its appscript equivalent" +HOMEPAGE="http://appscript.sourceforge.net" +SRC_URI="" +ESVN_REPO_URI="https://appscript.svn.sourceforge.net/svnroot/appscript/${MY_PN}/trunk/src" +LICENSE="public-domain" +KEYWORDS="~x64-macos ~x86" +SLOT="0" +IUSE="" + +DEPEND=">=dev-python/setuptools-0.6.14 + >=dev-python/appscript-0.22.0 + >=dev-python/osaterminology-0.14.6 + >=virtual/pyobjc-1.4 + >=dev-python/py2app-0.5.2" +RDEPEND="$DEPEND" + +src_compile() { + python setup.py py2app +} + +src_install() { + APP_DIR="${ED}Applications" + mkdir -p "${APP_DIR}" + cp -rp "dist/${MY_PN}.app" "${APP_DIR}" +} -- 2.26.2