public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-11.1.0.ebuild ChangeLog
@ 2011-12-27  6:39 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-12-27  6:39 UTC (permalink / raw
  To: gentoo-commits

floppym     11/12/27 06:39:32

  Modified:             ChangeLog
  Added:                twisted-11.1.0.ebuild
  Log:
  Version bump for bug 395825 by Ian Delaney. Bits and pieces by Arfrever.
  
  (Portage version: 2.2.0_alpha83/cvs/Linux x86_64)

Revision  Changes    Path
1.150                dev-python/twisted/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.150&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.150&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.149&r2=1.150

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- ChangeLog	17 Jul 2011 10:57:03 -0000	1.149
+++ ChangeLog	27 Dec 2011 06:39:32 -0000	1.150
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/twisted
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.149 2011/07/17 10:57:03 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.150 2011/12/27 06:39:32 floppym Exp $
+
+*twisted-11.1.0 (27 Dec 2011)
+
+  27 Dec 2011; Mike Gilbert <floppym@gentoo.org> +twisted-11.1.0.ebuild:
+  Version bump for bug 395825 by Ian Delaney. Bits and pieces by Arfrever.
 
   17 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> twisted-11.0.0.ebuild:
   ppc64 stable wrt #366131



1.1                  dev-python/twisted/twisted-11.1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.1&content-type=text/plain

Index: twisted-11.1.0.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.1 2011/12/27 06:39:32 floppym Exp $

EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Core"

inherit eutils twisted versionator

DESCRIPTION="An asynchronous networking framework written in Python"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="crypt gtk serial"

DEPEND="net-zope/zope-interface
	crypt? ( >=dev-python/pyopenssl-0.10 )
	gtk? ( dev-python/pygtk:2 )
	serial? ( dev-python/pyserial )"
RDEPEND="${DEPEND}"

DOCS="CREDITS NEWS README"

src_prepare(){
	distutils_src_prepare

	# Give a load-sensitive test a better chance of succeeding.
	epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"

	# Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
	epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"

	if [[ "${EUID}" -eq 0 ]]; then
		# Disable tests failing with root permissions.
		sed \
			-e "s/test_newPluginsOnReadOnlyPath/_&/" \
			-e "s/test_deployedMode/_&/" \
			-i twisted/test/test_plugin.py
	fi
}

src_test() {
	testing() {
		local exit_status="0"
		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation) $(python_get_version)"

		pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die

		# Skip broken tests.
		sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.py || die "sed failed"

		# http://twistedmatrix.com/trac/ticket/5375
		sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py || die "sed failed"

		# Prevent it from pulling in plugins from already installed twisted packages.
		rm -f twisted/plugins/__init__.py

		# An empty file doesn't work because the tests check for doc strings in all packages.
		echo "'''plugins stub'''" > twisted/plugins/__init__.py || die

		if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
			if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
				die "Tests failed with $(python_get_implementation) $(python_get_version)"
			else
				exit_status="1"
			fi
		fi

		popd > /dev/null || die
		rm -fr "${T}/tests"
		return "${exit_status}"
	}
	python_execute_function testing
}

src_install() {
	distutils_src_install
	python_clean_installation_image

	python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/trial"

	postinstallational_preparation() {
		touch "${ED}$(python_get_sitedir)/Twisted-${PV}-py$(python_get_version).egg-info"

		# Delete dropin.cache to avoid collisions.
		# dropin.cache is regenerated in pkg_postinst().
		rm -f "${ED}$(python_get_sitedir)/twisted/plugins/dropin.cache"
	}
	python_execute_function -q postinstallational_preparation

	# Don't install index.xhtml page.
	doman doc/man/*.?
	insinto /usr/share/doc/${PF}
	doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)

	newconfd "${FILESDIR}/twistd.conf" twistd
	newinitd "${FILESDIR}/twistd.init" twistd
}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-11.1.0.ebuild ChangeLog
@ 2011-12-29  4:15 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-12-29  4:15 UTC (permalink / raw
  To: gentoo-commits

floppym     11/12/29 04:15:26

  Modified:             twisted-11.1.0.ebuild ChangeLog
  Log:
  Call python_get_implementation_and_version from src_test.
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-python/twisted/twisted-11.1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?r1=1.1&r2=1.2

Index: twisted-11.1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- twisted-11.1.0.ebuild	27 Dec 2011 06:39:32 -0000	1.1
+++ twisted-11.1.0.ebuild	29 Dec 2011 04:15:26 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.1 2011/12/27 06:39:32 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.2 2011/12/29 04:15:26 floppym Exp $
 
 EAPI="4"
 PYTHON_DEPEND="2"
@@ -46,7 +46,8 @@
 src_test() {
 	testing() {
 		local exit_status="0"
-		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation) $(python_get_version)"
+		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install
+		--root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation_and_version)"
 
 		pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
 
@@ -64,7 +65,7 @@
 
 		if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
 			if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
-				die "Tests failed with $(python_get_implementation) $(python_get_version)"
+				die "Tests failed with $(python_get_implementation_and_version)"
 			else
 				exit_status="1"
 			fi



1.151                dev-python/twisted/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.151&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.151&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.150&r2=1.151

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- ChangeLog	27 Dec 2011 06:39:32 -0000	1.150
+++ ChangeLog	29 Dec 2011 04:15:26 -0000	1.151
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/twisted
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.150 2011/12/27 06:39:32 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.151 2011/12/29 04:15:26 floppym Exp $
+
+  29 Dec 2011; Mike Gilbert <floppym@gentoo.org> twisted-11.1.0.ebuild:
+  Call python_get_implementation_and_version from src_test.
 
 *twisted-11.1.0 (27 Dec 2011)
 






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-11.1.0.ebuild ChangeLog
@ 2011-12-29  4:17 Mike Gilbert (floppym)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert (floppym) @ 2011-12-29  4:17 UTC (permalink / raw
  To: gentoo-commits

floppym     11/12/29 04:17:11

  Modified:             twisted-11.1.0.ebuild ChangeLog
  Log:
  Fix line wrapping.
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-python/twisted/twisted-11.1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild?r1=1.2&r2=1.3

Index: twisted-11.1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- twisted-11.1.0.ebuild	29 Dec 2011 04:15:26 -0000	1.2
+++ twisted-11.1.0.ebuild	29 Dec 2011 04:17:11 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.2 2011/12/29 04:15:26 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.3 2011/12/29 04:17:11 floppym Exp $
 
 EAPI="4"
 PYTHON_DEPEND="2"
@@ -46,8 +46,7 @@
 src_test() {
 	testing() {
 		local exit_status="0"
-		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install
-		--root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation_and_version)"
+		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation_and_version)"
 
 		pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
 



1.152                dev-python/twisted/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.152&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.152&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.151&r2=1.152

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- ChangeLog	29 Dec 2011 04:15:26 -0000	1.151
+++ ChangeLog	29 Dec 2011 04:17:11 -0000	1.152
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/twisted
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.151 2011/12/29 04:15:26 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.152 2011/12/29 04:17:11 floppym Exp $
+
+  29 Dec 2011; Mike Gilbert <floppym@gentoo.org> twisted-11.1.0.ebuild:
+  Fix line wrapping.
 
   29 Dec 2011; Mike Gilbert <floppym@gentoo.org> twisted-11.1.0.ebuild:
   Call python_get_implementation_and_version from src_test.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-29  4:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29  4:15 [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-11.1.0.ebuild ChangeLog Mike Gilbert (floppym)
  -- strict thread matches above, loose matches on Subject: below --
2011-12-29  4:17 Mike Gilbert (floppym)
2011-12-27  6:39 Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox