summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-06-16 17:01:34 +0000
committerCédric Krier <cedk@gentoo.org>2007-06-16 17:01:34 +0000
commit7aa89fb9f70f862da8e61bbdc65ca6a23a22fb9b (patch)
tree707c17fe78292e209161ad6d4ae7caf0a702c521 /sci-misc
parentAdded ~amd64 (diff)
downloadhistorical-7aa89fb9f70f862da8e61bbdc65ca6a23a22fb9b.tar.gz
historical-7aa89fb9f70f862da8e61bbdc65ca6a23a22fb9b.tar.bz2
historical-7aa89fb9f70f862da8e61bbdc65ca6a23a22fb9b.zip
sci-misc/pythoncad: New ebuild
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/pythoncad/ChangeLog11
-rw-r--r--sci-misc/pythoncad/Manifest16
-rw-r--r--sci-misc/pythoncad/files/digest-pythoncad-1.363
-rw-r--r--sci-misc/pythoncad/metadata.xml9
-rw-r--r--sci-misc/pythoncad/pythoncad-1.36.ebuild47
5 files changed, 86 insertions, 0 deletions
diff --git a/sci-misc/pythoncad/ChangeLog b/sci-misc/pythoncad/ChangeLog
new file mode 100644
index 000000000000..8982002da08f
--- /dev/null
+++ b/sci-misc/pythoncad/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-misc/pythoncad
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/ChangeLog,v 1.1 2007/06/16 17:01:34 cedk Exp $
+
+*pythoncad-1.36 (16 Jun 2007)
+
+ 16 Jun 2007; Cédric Krier <cedk@gentoo.org> +metadata.xml,
+ +pythoncad-1.36.ebuild:
+ New ebuild thanks to Mr. Bones., Rob Cakebread, Lukasz Strzygowski, r0g1,
+ David Grant, Alastair Tse
+
diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest
new file mode 100644
index 000000000000..5f5149ea0a9f
--- /dev/null
+++ b/sci-misc/pythoncad/Manifest
@@ -0,0 +1,16 @@
+DIST PythonCAD-DS1-R36.tar.bz2 367052 RMD160 7d5c1c7f7ecad2ad49cf6b1352c61421829f9e86 SHA1 34fad999f28142c5761189b68976142c81ee6038 SHA256 75f7497e0888b3df3d43f766e8afb8fd45e8511a8cd4087b5a39183c44ed30e3
+EBUILD pythoncad-1.36.ebuild 1022 RMD160 c1876f3fba5c6c8ccc946a503e7bdcfce44fd3e5 SHA1 51171e900c9dd7928268302006eb6dc462633c35 SHA256 5df6407ab766a933469a5cfb1900526f6391d9eb08c46883ef317792850f80ea
+MD5 62169acf3af5c894bcbad689ed803c7d pythoncad-1.36.ebuild 1022
+RMD160 c1876f3fba5c6c8ccc946a503e7bdcfce44fd3e5 pythoncad-1.36.ebuild 1022
+SHA256 5df6407ab766a933469a5cfb1900526f6391d9eb08c46883ef317792850f80ea pythoncad-1.36.ebuild 1022
+MISC ChangeLog 431 RMD160 661858e1a88a583da4a7a6eaca4d6bec86948563 SHA1 c185aec996af2e0fbb96afa5587b31cc06c06825 SHA256 b96b3e6790a610105d3d02811967c7afeffb2bd54adb8745345d285994c0a5ae
+MD5 3a13af88df60507cabf219b903e65b6d ChangeLog 431
+RMD160 661858e1a88a583da4a7a6eaca4d6bec86948563 ChangeLog 431
+SHA256 b96b3e6790a610105d3d02811967c7afeffb2bd54adb8745345d285994c0a5ae ChangeLog 431
+MISC metadata.xml 298 RMD160 3bd881d539e14c928eeb3f19a2be954329ec96ad SHA1 60cf6bdecf4525425d066852f1847cf46497934c SHA256 3e73f586412bde4dc3043a7cc91e1508ac3138c16ff6167a96d796ce694e2a6e
+MD5 98e2175250bd3cea242580e59e65c368 metadata.xml 298
+RMD160 3bd881d539e14c928eeb3f19a2be954329ec96ad metadata.xml 298
+SHA256 3e73f586412bde4dc3043a7cc91e1508ac3138c16ff6167a96d796ce694e2a6e metadata.xml 298
+MD5 2d5ca4e5640e77a3b7fd8f590c04fe9c files/digest-pythoncad-1.36 256
+RMD160 15617b19f481449359455aa27efe7d7814196f57 files/digest-pythoncad-1.36 256
+SHA256 7a9e4e419b72180ef46688c4cb5e04421d00621f64f25bad2089f9af1fea9324 files/digest-pythoncad-1.36 256
diff --git a/sci-misc/pythoncad/files/digest-pythoncad-1.36 b/sci-misc/pythoncad/files/digest-pythoncad-1.36
new file mode 100644
index 000000000000..02cf27bfc667
--- /dev/null
+++ b/sci-misc/pythoncad/files/digest-pythoncad-1.36
@@ -0,0 +1,3 @@
+MD5 fb8acab878aa5bc203a4b4d07dd3da71 PythonCAD-DS1-R36.tar.bz2 367052
+RMD160 7d5c1c7f7ecad2ad49cf6b1352c61421829f9e86 PythonCAD-DS1-R36.tar.bz2 367052
+SHA256 75f7497e0888b3df3d43f766e8afb8fd45e8511a8cd4087b5a39183c44ed30e3 PythonCAD-DS1-R36.tar.bz2 367052
diff --git a/sci-misc/pythoncad/metadata.xml b/sci-misc/pythoncad/metadata.xml
new file mode 100644
index 000000000000..e7b026ceed6b
--- /dev/null
+++ b/sci-misc/pythoncad/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>cedk@gentoo.org</email>
+</maintainer>
+<longdescription>a scriptable, open-source, easy to use CAD</longdescription>
+</pkgmetadata>
diff --git a/sci-misc/pythoncad/pythoncad-1.36.ebuild b/sci-misc/pythoncad/pythoncad-1.36.ebuild
new file mode 100644
index 000000000000..6df06e786b26
--- /dev/null
+++ b/sci-misc/pythoncad/pythoncad-1.36.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/pythoncad-1.36.ebuild,v 1.1 2007/06/16 17:01:34 cedk Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils versionator
+
+MY_PN="PythonCAD"
+MY_PV="DS$(get_major_version)-R$(get_after_major_version)"
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="CAD program written in PyGTK"
+HOMEPAGE="http://www.pythoncad.org/"
+LICENSE="GPL-2"
+SRC_URI="http://www.pythoncad.org/releases/${MY_P}.tar.bz2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pygtk-1.99.16"
+DEPEND=""
+
+PYTHON_MODNAME=${MY_PN}
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/gtkpycad.png/pythoncad.png/" \
+ -e "s/gtkpycad.py/pythoncad/" \
+ "pythoncad.desktop" || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+ newbin gtkpycad.py pythoncad
+ insinto /etc/"${PN}"
+ doins prefs.py
+ domenu pythoncad.desktop
+ insinto /usr/share/pixmaps
+ newins gtkpycad.png pythoncad.png
+}