summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-06-01 22:28:49 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-06-01 22:28:49 +0000
commit8fd766d40b701be0cf4730a683bef7cab3744782 (patch)
treebfa9b8ef286811f22a496c2e074eaaebbda0f17b /sci-misc
parentRemove old. (diff)
downloadhistorical-8fd766d40b701be0cf4730a683bef7cab3744782.tar.gz
historical-8fd766d40b701be0cf4730a683bef7cab3744782.tar.bz2
historical-8fd766d40b701be0cf4730a683bef7cab3744782.zip
Revision bump: EAPI 5 and distutils-r1 eclass
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/pythoncad/ChangeLog7
-rw-r--r--sci-misc/pythoncad/Manifest19
-rw-r--r--sci-misc/pythoncad/pythoncad-1.37-r1.ebuild49
3 files changed, 65 insertions, 10 deletions
diff --git a/sci-misc/pythoncad/ChangeLog b/sci-misc/pythoncad/ChangeLog
index 5982dbd52661..06f06200aa10 100644
--- a/sci-misc/pythoncad/ChangeLog
+++ b/sci-misc/pythoncad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-misc/pythoncad
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/ChangeLog,v 1.8 2013/06/01 21:21:50 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/ChangeLog,v 1.9 2013/06/01 22:28:48 pinkbyte Exp $
+
+*pythoncad-1.37-r1 (01 Jun 2013)
+
+ 01 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> +pythoncad-1.37-r1.ebuild:
+ Revision bump: EAPI 5 and distutils-r1 eclass
01 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> pythoncad-1.37.ebuild:
Change HOMEPAGE, wrt bug #460330
diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest
index 12f31f83be2b..60a3fffaa95f 100644
--- a/sci-misc/pythoncad/Manifest
+++ b/sci-misc/pythoncad/Manifest
@@ -2,18 +2,19 @@
Hash: SHA256
AUX pythoncad-1.37-png.patch 1535 SHA256 772c85464da9abe54ddaac426ce5dad8b9af8134701e755f9d280997a2f05315 SHA512 642932e86ea12454c6e1d00820d21200cbde5653ebb6145c73790c7685bb8885022067bc3c9e12f3dc3b2f036c80896775acf8ba3e490b1df35b666e2ec1959e WHIRLPOOL 658731bead42fbe1d74944c358cf6057f115bb73bdcdbe4a51146ea16c9a5a3448874eb86e380436000d019c968dcd4ef9f3eb7bd49bb3e31cec989e99bf3c80
-DIST PythonCAD-DS1-R37.tar.gz 504053 SHA256 74222bd43af1e66ab31a45782ed7bd94d54ccbbdb7a58046ec2775f27f806031
+DIST PythonCAD-DS1-R37.tar.gz 504053 SHA256 74222bd43af1e66ab31a45782ed7bd94d54ccbbdb7a58046ec2775f27f806031 SHA512 dfc0dd3272f447202c0cf12e60c39d877390ccf6696529f6bcce9a4442db4f09b735d718bc5611d6c33fbedf2190c496fb7a737001eb73a38fbce1ae80eadc81 WHIRLPOOL bab1dc5162bbd4596ed6729a016fc4b642277293a423860ac22aa2439f5e18629dc376455ef82186b1f11780871d5f7b7ac6191d108a62e18dc54ff077bef2d9
+EBUILD pythoncad-1.37-r1.ebuild 1152 SHA256 b17acb50cbd8f9bb74ef6ec68403db30482714f09e21d1ace03d3fd10d7d9dec SHA512 74bb8c5987d42ee1b3637cefc04888aed338bca926a3cd0411d5ea5c22e677e54a048cc6101e38a33d95d4f9bb96a78937ea06fa91dba3ec0939c4a90a9ca3e3 WHIRLPOOL 4a0556db8fd17ee37321aa9b9865f6908c989631d803fae1766badb60ad7a7c0866bdfd2bfdcbb9bb2e711f857d81f39ea69ebcb8710fe206a6926b296b8ea3b
EBUILD pythoncad-1.37.ebuild 1267 SHA256 ae671ee311d32c959d61ac4e5d2569903e7cf4cefece5bcb23a053dc408e4686 SHA512 4c2fa620b0d1a55cd39c609bdf19ad5405237d1f99768f9448943e45c5935f8d160fe68b10520d27c28573503fade3b634c433116689ad14ffed3fc6b13a3fa9 WHIRLPOOL 3a016cdeba43bcde12526ffbb0dda216ecddea8c2bbcb572a3c5872ca23d1b38857baa9458ba98119f0f7555ee06589865b5bd74523d4a6e7113381c0aea2c22
-MISC ChangeLog 1272 SHA256 8422ca815f367e84644b32b588820729d9f9be6cee93460bd78fb73b9acb6770 SHA512 6ab892f0601267fb08a5431c19092ec1714c246e36f9e1cf2078d661f2a3946a80e9d5a5f5ddfc6525f3bbbd71fad03e197a3e2e5d666ce185ac88fd36488c25 WHIRLPOOL 3727ee2759a793f51ecd6842c7e8fa2456a46a51290089cd674942d63c8d64101a96a3c7a9d053c970bcc80245feae3629bd5091e9090ccb0fb61b267f40aa1b
+MISC ChangeLog 1432 SHA256 b848ea334915214144c1643e164fe38cd0399492225a4d0c1cc39b2fb03c6ab0 SHA512 fc90d72bc721b43a5f40553df056b2c62c16979a2f70aa67c4de93009a73bb1c3253c3f037227f9577804eeec0cdf688596e73ea100df2e06161eb399e134bb4 WHIRLPOOL 514a7dd8d39281aed6455850b6f8e4aeae8218ccde94893fcceedc75a039c005ea2d67ee5e952b0475ebc1904dcf991d7cbe78347424fb615ac1a1354660a4ff
MISC metadata.xml 290 SHA256 264ffdec5c2f845a4d0c6f16454610c1eb0c6d0c46356c83502bdb6586ebddef SHA512 3359242cdbce3a4e388c2b3786ef7bf9d5e445e3f1007a802df52a704b8305cc97df69e05aa1c4e8d82305c5f57582cd8e888e267a40d31f51a9b06e3c227f29 WHIRLPOOL cfddc2c5fc80a47f4ab6b66dc9fc78b64f446a546b1d82cd5b8d6902c501fe5406571c6cae9db6e998e20b0288741484ddc57745ef519dfbf5633936d7ffc997
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJRqmXvAAoJECo/aRed9267pHwH+gNwcaOjNwCDYAZZtoov8+3y
-UJ/cKxmbxQVuOAqgbeMzbGWKGQBtTfeQkyW0nQFhhP96aEPrwut+sizczaCR5g8h
-+7Zgb3vbAYs4uqQfnuA/enfMw1N4Y52tOe8a7+7jfDRVMx1b4ksBIbObnSd+TWzc
-GhQnejUzC8pi+SNU9ocK5NSflxN4kHaNfrQnUWmiZJEmuvps0sP06zQBUT73T4F2
-wzFiuk5CMpGsxLU/RPbaYfKPVnjYCQkTGDVoaHDjeKwEXLBlTNLXLugmVsAj6eRn
-Oke/gcJcdi8BNnj6W5KrJtidCJU+p9cBwWpek0rOitNowgKRztT9Tl+SOxbCQHk=
-=yn1X
+iQEcBAEBCAAGBQJRqnWhAAoJECo/aRed92673aMH/3ptmwdfe8TWzlelFRs7Pm+v
+4yQE9g05zGIpbsuD35hMfhwB2YGOehOob+Q0mmilrEkGgO2T9uFn+Iry8w5UkYuG
+ZO1lzJWSiqGK2cx5ZV9aigTl+ufHFfnv2c/1G+EDL/QIJ2oJsqd9kWRlT+SujEeu
+H5GOsRQxnJPoDzEFetaMdBA8b7u65kKHzMWCbx9o0D0f6cBRcN9nBGdFGdf2nLG1
+jeX2scQx4tL/J4fkOYtcgkoGaqN0s1ztHUQEL+EDXiP/HKgABaMMUAaVsCzYdXKp
+ptvxCfCBREn7oHlzUtS2aYIghXoaaJ2OiWtX1Rao57CKYjht54IfbE2Ws5F+U8Q=
+=JNiv
-----END PGP SIGNATURE-----
diff --git a/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild b/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
new file mode 100644
index 000000000000..593a5eda6d27
--- /dev/null
+++ b/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/pythoncad-1.37-r1.ebuild,v 1.1 2013/06/01 22:28:48 pinkbyte Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{6,7} )
+inherit eutils distutils-r1 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://sourceforge.net/projects/pythoncad"
+SRC_URI="mirror://sourceforge/pythoncad/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pygtk:2[${PYTHON_USEDEP}]"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${P}-png.patch" )
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ sed -i \
+ -e "s/gtkpycad.png/pythoncad.png/" \
+ -e "s/gtkpycad.py/pythoncad/" \
+ "${PN}.desktop" || die "sed failed"
+}
+
+python_install() {
+ distutils-r1_python_install
+ python_newscript gtkpycad.py pythoncad
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ insinto /etc/"${PN}"
+ doins prefs.py
+ domenu "${PN}".desktop
+ newicon gtkpycad.png "${PN}".png
+}