summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 18:40:04 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-05 18:40:04 +0000
commit2579ea7dfa7093eef8140633972513a6739e446e (patch)
tree5bb867ac3cb1b0b106a3e7e102e5068f93f5e4aa /net-misc/neatx
parentFix deprecation warnings. (diff)
downloadhistorical-2579ea7dfa7093eef8140633972513a6739e446e.tar.gz
historical-2579ea7dfa7093eef8140633972513a6739e446e.tar.bz2
historical-2579ea7dfa7093eef8140633972513a6739e446e.zip
Don't use distutils.eclass. Don't install .pyc / .pyo files in Python site-packages directories.
Package-Manager: portage-2.2.0_alpha29_p9/cvs/Linux x86_64
Diffstat (limited to 'net-misc/neatx')
-rw-r--r--net-misc/neatx/ChangeLog7
-rw-r--r--net-misc/neatx/Manifest32
-rw-r--r--net-misc/neatx/neatx-0.3.1_p59-r1.ebuild12
-rw-r--r--net-misc/neatx/neatx-0.3.1_p59-r2.ebuild12
4 files changed, 40 insertions, 23 deletions
diff --git a/net-misc/neatx/ChangeLog b/net-misc/neatx/ChangeLog
index 3ffec2396cd2..f211b7dfd266 100644
--- a/net-misc/neatx/ChangeLog
+++ b/net-misc/neatx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/neatx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/ChangeLog,v 1.13 2011/04/05 18:22:45 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/ChangeLog,v 1.14 2011/04/05 18:40:03 arfrever Exp $
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild:
+ Don't use distutils.eclass. Don't install .pyc / .pyo files in Python
+ site-packages directories.
05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild:
diff --git a/net-misc/neatx/Manifest b/net-misc/neatx/Manifest
index 025d7e6aec6d..ec8f9152e15f 100644
--- a/net-misc/neatx/Manifest
+++ b/net-misc/neatx/Manifest
@@ -2,24 +2,24 @@
Hash: SHA1
DIST neatx-0.3.1_p59.tar.bz2 77036 RMD160 9d1d5bace5ac56c97e92abcdcc2eca676c0caa19 SHA1 525f6c6ec74c13785b8f37cc43d1d65e5729a741 SHA256 ed4eea8395ae884c9e4b206cbed0f54c4c7f4138ed608c7f6ad52c56b496e77d
-EBUILD neatx-0.3.1_p59-r1.ebuild 3296 RMD160 33ef0ffa07bc3e7babc30a9f227590c241e9162b SHA1 fd08b784890ee64e3fd620a4cbe3325f77cb3b5c SHA256 9957e4ef2784c5060b3a512f90d64d8376d293288a55281517e2770addc185da
-EBUILD neatx-0.3.1_p59-r2.ebuild 4037 RMD160 2b87f61f6edc856c6834447cf9e47398860be199 SHA1 e1af5ce201535a587ce4a65b9ee3151e4f835439 SHA256 13493660fe976ada6de8469fc801e830994c51f5a87e5511e98e2eb461ced628
-MISC ChangeLog 2325 RMD160 191c15b29f1f0cdc61f85a0a1855f69f19748c7d SHA1 fc6ae06fa84ce30ef89b747bb18d46540b090884 SHA256 4312b53749fc21830bab82a5aaad75305b7778f51a433004ee2407188cc4a196
+EBUILD neatx-0.3.1_p59-r1.ebuild 3382 RMD160 69d561331fc7068f10c3ab67ac831dd439950545 SHA1 dd6b916896dc6cd472b377d08f1125e61ae257e0 SHA256 62048c9063c450b58c87ae180a9222b32513b7ecbd7b1c188d496da3dfce8b0c
+EBUILD neatx-0.3.1_p59-r2.ebuild 4123 RMD160 26ce3ddb0642d305d2d4093395cb6ab39bdb8c54 SHA1 4c6b463888d1d50eb0dbc1f9d8c74d4e9fb07daf SHA256 9a429b017eec87d5b50a6b7539a02fa858b1dc4297e6feec56c16b900ac7a3b1
+MISC ChangeLog 2556 RMD160 2b4aa5f815fe2fa399e0d3e5aff663468c5f7258 SHA1 872ed870c8502ebabc038a102dc6410d797b7d4e SHA256 20378cc14baa06eaaa7b2610465945a23652791e9efa2db67cae17cac0d0bb53
MISC metadata.xml 334 RMD160 cf5f1838adacd57b72fc13f8d8fc3f64ab81cb8d SHA1 b34dc4617f03bb49a8df90220ec4ae2a54f3935f SHA256 499f67f73f4048db1c41db8e934a720dd9cdc00b6a7a48bb774993ff40eb8d8a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJNm14EAAoJENgZr6v6gHY0b6cP/ihvseRDdNS14fY/Mid0sBoG
-2TUaIEdD5gh/vvLqEtt+IdpMP2BBwhchKzLob8ccwUVnJlZi0EMreH0g5yy2+i+W
-5pK2EIHgly0GW66AN93PP8xtHmjhlSC8iikFF3lK6j0fyLuDTTLfBVo10YbjZYEK
-IaRYNQC65zXq3mTvuv3kpDdqKCOvgLwfW6YOVQr66FdGSLWqFCUQJ7LHW1n0v1RQ
-MWyhpg/rZvhA5ReO0g69Qw2boxpaVLbpBv1B3fi8EyF8zEzp6cAZ8yk2U9mQp7uW
-64/I6Fx7oGDKgUPFhj680fe0BIpYGOybs6f3VhrH7r/oRvDnKjk5yrHRx3bmp8oP
-Fh8q+Cd0RX/VmL3hkMC3T/MofQUgk83/EaphPS/g05AiHw8yXOQk563UON6Uh7ii
-3Gbit+ded7eJj4WDPG3AKl2UrIF2el6KpmMZsbiUhUM8O6H7+VivqBAT/iDoeGWx
-kbAq8eN1Xu/f0zDkng5+LAkmrDEzMO20b+KNviETNuhbKJX0tgAqbVkdP/j6GBKZ
-MyBJQQ5d5PpZJSeTGqhFJoGoWCZpN9A3E4qURiMQmo1QH6THAwDEux/mFJtzyOic
-iNSJv+fM5LKS/pzzYAt/jPMsI9/PmNiaVflSveckbrmYo+0tnFNCd69zqs/NfxXS
-l+xXAIHT5ZH62N12cDea
-=et+X
+iQIcBAEBAgAGBQJNm2ITAAoJENgZr6v6gHY0toIQANq31tWaffhrCM26hfI9PMhc
+ZH+C7H8uzFjW2lgfqILxghg8HeJQBYB4Iy1qrpfDwShok82VSklUn5P2vpGMTr+b
+/i4DgPMpAdFpbFnEgcL0G5Te9xIsYV6VNkF15tDABjMg/dVpNcLpIHLD7lxkkTi7
+ECgsgctXomJ3DIMmQJ9s9k3cGpLjtdpip29/ST6PlU/25VqPzpM9ZpY+vKkfPx2l
+RQPZt0+JgcwS7cvBpuhOlVVSrpRmzBqAfVcuMUR0rtlqmLEu13Y1ln6KttdasewF
+qbGTZdqJ+KTKNVG/6E+NmImv8ttkHdoksqkfOkSGBA9woHQvKKtQqYrFzGJVWJ4G
+F7HGwqBEi6IEgmkIWvs5vTdjb6ROHX8lFZ72qJ694AjoM+Vf8ZPC51SBLVxWjQfT
+ohkGSZRoaBqNNCOcsFNOJffXSSOcKIdKfy3qhKUQ6nFnDAYhVR4MW/fvJxu5LfoB
+3719iUT2WLJh8DR40o38dS03IPc+oJAio7p7TKJQpImTR1GLlKer+pUCmxIx2I3s
+t8jgLzXh7Do7d99jOODlZCMxRyYubh2PM5e2qhyllttd8HAX9HX27qKwJj+bXGsH
+WtZCOIfU3PAjMhnf36bmm8jlSApAQOcChO7N11aRnga4hdBDOaJ9B6nrPNEjLH+z
+79wWAzi7FpYdzoJ1nU/g
+=BRB0
-----END PGP SIGNATURE-----
diff --git a/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild b/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild
index 4c71a5f93fd7..842869949c58 100644
--- a/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild
+++ b/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild,v 1.4 2011/04/05 18:22:45 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/neatx-0.3.1_p59-r1.ebuild,v 1.5 2011/04/05 18:40:03 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
-inherit eutils autotools distutils
+inherit eutils autotools python
DESCRIPTION="Google implementation of NX server"
HOMEPAGE="http://code.google.com/p/neatx/"
@@ -55,6 +55,8 @@ src_prepare() {
-i lib/constants.py || die "constants.py sed failed"
eautoreconf
+
+ echo "#!/bin/sh" > autotools/py-compile
}
src_compile() {
@@ -94,7 +96,7 @@ EOF
}
pkg_postinst () {
- distutils_pkg_postinst
+ python_mod_optimize neatx
# Other NX servers ebuilds may have already created the nx account
# However they use different login shell/home directory paths
@@ -118,3 +120,7 @@ pkg_postinst () {
elog "you must ensure that the nx user is a member of the wheel group."
elog "You can add it via \"usermod -a -G wheel nx\""
}
+
+pkg_postrm() {
+ python_mod_cleanup neatx
+}
diff --git a/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild b/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild
index 31a95119fd26..d12fafa0c7cb 100644
--- a/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild
+++ b/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild,v 1.2 2011/04/05 18:22:45 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/neatx-0.3.1_p59-r2.ebuild,v 1.3 2011/04/05 18:40:04 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
-inherit eutils autotools distutils
+inherit eutils autotools python
DESCRIPTION="Google implementation of NX server"
HOMEPAGE="http://code.google.com/p/neatx/"
@@ -55,6 +55,8 @@ src_prepare() {
-i lib/constants.py || die "constants.py sed failed"
eautoreconf
+
+ echo "#!/bin/sh" > autotools/py-compile
}
src_compile() {
@@ -114,7 +116,7 @@ pkg_preinst () {
}
pkg_postinst () {
- distutils_pkg_postinst
+ python_mod_optimize neatx
# Other NX servers ebuilds may have already created the nx account
# However they use different login shell/home directory paths
@@ -138,3 +140,7 @@ pkg_postinst () {
elog "you must ensure that the nx user is a member of the wheel group."
elog "You can add it via \"usermod -a -G wheel nx\""
}
+
+pkg_postrm() {
+ python_mod_cleanup neatx
+}