Add ASTranslate ebuild (much like the ASDictionary ebuild).
authorW. Trevor King <wking@drexel.edu>
Thu, 9 Jun 2011 16:39:41 +0000 (12:39 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 9 Jun 2011 16:39:41 +0000 (12:39 -0400)
dev-python/astranslate/Manifest [new file with mode: 0644]
dev-python/astranslate/astranslate-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/astranslate/Manifest b/dev-python/astranslate/Manifest
new file mode 100644 (file)
index 0000000..eb622d9
--- /dev/null
@@ -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 (file)
index 0000000..f6817be
--- /dev/null
@@ -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}"
+}