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
commit48072c8cab14a7a9a97a50c2cdeb56bff4189e45 (patch)
tree3d482edb210ce40319911a0b0498b3d6ec70cde7 /sci-misc/pythoncad
parentAdded ~amd64 (diff)
downloadgentoo-2-48072c8cab14a7a9a97a50c2cdeb56bff4189e45.tar.gz
gentoo-2-48072c8cab14a7a9a97a50c2cdeb56bff4189e45.tar.bz2
gentoo-2-48072c8cab14a7a9a97a50c2cdeb56bff4189e45.zip
sci-misc/pythoncad: New ebuild
(Portage version: 2.1.2.7)
Diffstat (limited to 'sci-misc/pythoncad')
-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..f9e460f54f83
--- /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 922 RMD160 47c66a028f9bf56b88e3a181757aa456e1506d8b SHA1 5b3116a1851cb6e810d6a8d2cba16c84d5b2ed54 SHA256 d6784df19b966970f9b9b0c32d0161b11e38d3077891138df1e6e0b0a51c9365
+MD5 fcc47f7dd115ac592a6088ddbe7aa248 pythoncad-1.36.ebuild 922
+RMD160 47c66a028f9bf56b88e3a181757aa456e1506d8b pythoncad-1.36.ebuild 922
+SHA256 d6784df19b966970f9b9b0c32d0161b11e38d3077891138df1e6e0b0a51c9365 pythoncad-1.36.ebuild 922
+MISC ChangeLog 343 RMD160 81cb844fcca57ee79826adbfa46da1c4bec93135 SHA1 71c521201a84866abe41882b0f2800a245cd4355 SHA256 e5976970277048563557e48c9300279dd37492695686da2561cccb41b8ab8704
+MD5 3358e962c36bbcf73a61d9cb90991da2 ChangeLog 343
+RMD160 81cb844fcca57ee79826adbfa46da1c4bec93135 ChangeLog 343
+SHA256 e5976970277048563557e48c9300279dd37492695686da2561cccb41b8ab8704 ChangeLog 343
+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
+}