diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-vcs/bzr | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-vcs/bzr')
-rw-r--r-- | dev-vcs/bzr/Manifest | 3 | ||||
-rw-r--r-- | dev-vcs/bzr/bzr-2.4.2.ebuild | 88 | ||||
-rw-r--r-- | dev-vcs/bzr/bzr-2.5.1-r1.ebuild | 97 | ||||
-rw-r--r-- | dev-vcs/bzr/bzr-2.5.1.ebuild | 88 | ||||
-rw-r--r-- | dev-vcs/bzr/bzr-2.6.0.ebuild | 95 | ||||
-rw-r--r-- | dev-vcs/bzr/files/71bzr-gentoo.el | 5 | ||||
-rw-r--r-- | dev-vcs/bzr/files/bzr-2.4.0-no-pyrex-citon.patch | 33 | ||||
-rw-r--r-- | dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch | 33 | ||||
-rw-r--r-- | dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch | 24 | ||||
-rw-r--r-- | dev-vcs/bzr/metadata.xml | 19 |
10 files changed, 485 insertions, 0 deletions
diff --git a/dev-vcs/bzr/Manifest b/dev-vcs/bzr/Manifest new file mode 100644 index 000000000000..b4c3b64c73c2 --- /dev/null +++ b/dev-vcs/bzr/Manifest @@ -0,0 +1,3 @@ +DIST bzr-2.4.2.tar.gz 7528721 SHA256 a5b8db77c61e54450680befdbb4795f8a972fa5a167123786360d898b752656f SHA512 7a54f242618adafea989d904cc4c5c0b8c53c40b4d5548cf393109a134b8319f19a57e72927e7c1b6872feacea8a17ed92df3cd0e36ca22dd1ad8959ad0c4294 WHIRLPOOL 3bf6f2db16dae3466d76537fc6cc8c37cb7872fa94dd6f0d6a6c2a2b3a4b76fce00b5fd673eeb6656a4d277b03b3647e76b208b06834e1dbacd5f7a9041653f9 +DIST bzr-2.5.1.tar.gz 10451513 SHA256 967346fa6cc52971a8dfd5171ec22e1928cf455fb4317013b05b0915ff927982 SHA512 40700d0f4f61bb1609d85772812249114c9e7af619143aafec97163617cb58828e63bda22abf576704848b479463bb85c0b2dc7e5bb49108f48fa397c7bfe85c WHIRLPOOL 34e90eb01e49840bc2eedba6a664fe936ecc6fcc75e3f350a21a2d868609672984182e50f4f3f127da2e7e8b6dbf229aca587fc8dfe1522cf9bbe1d5c9272288 +DIST bzr-2.6.0.tar.gz 11301124 SHA256 0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0 SHA512 f40d4380a837321c2ed168d15b0b5d31e9de6df93c0f8f2fd9b16c9351524b0afac5b8744740f587e9704efeb4cc004cae7f35aed47f73b5c796cbe2526af980 WHIRLPOOL a20f45bebb480e0d9d2052373b671ca32f39f52ef3a04800a5d0662248347cbde8a37d24dbaccc6809a7a046646d10bb62ab392302a3dfe983afca0479ce242e diff --git a/dev-vcs/bzr/bzr-2.4.2.ebuild b/dev-vcs/bzr/bzr-2.4.2.ebuild new file mode 100644 index 000000000000..9478eda0d0e1 --- /dev/null +++ b/dev-vcs/bzr/bzr-2.4.2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" + +inherit bash-completion-r1 distutils eutils versionator + +MY_P=${PN}-${PV} +SERIES=$(get_version_component_range 1-2) + +DESCRIPTION="Bazaar is a next generation distributed version control system" +HOMEPAGE="http://bazaar-vcs.org/" +#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" +SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="curl doc +sftp test" + +RDEPEND="|| ( dev-lang/python:2.7[xml] dev-lang/python:2.6[xml] dev-python/celementtree ) + curl? ( dev-python/pycurl ) + sftp? ( dev-python/paramiko )" + +DEPEND="test? ( + ${RDEPEND} + || ( dev-python/pyftpdlib dev-python/medusa ) + dev-python/subunit + >=dev-python/testtools-0.9.5 + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="doc/*.txt" +PYTHON_MODNAME="bzrlib" + +src_prepare() { + distutils_src_prepare + + # Don't regenerate .c files from .pyx when pyrex is found. + epatch "${FILESDIR}/${PN}-2.4.2-no-pyrex-citon.patch" +} + +src_test() { + # Some tests expect the usual pyc compiling behaviour. + python_enable_pyc + + # Define tests which are known to fail below. + local skip_tests="(" + # https://bugs.launchpad.net/bzr/+bug/850676 + skip_tests+="per_transport.TransportTests.test_unicode_paths.*|" + # libcurl cannot verify SSL certs + # https://bugs.launchpad.net/bzr/+bug/82086 + skip_tests+="per_transport.TransportTests.test_clone|per_transport.TransportTests.test_connection_sharing|per_transport.TransportTests.test_copy_to|per_transport.TransportTests.test_get|per_transport.TransportTests.test_get_bytes|per_transport.TransportTests.test_get_bytes_unknown_file|per_transport.TransportTests.test_get_directory_read_gives_ReadError|per_transport.TransportTests.test_get_unknown_file|per_transport.TransportTests.test_has|per_transport.TransportTests.test_has_root_works|per_transport.TransportTests.test_readv|per_transport.TransportTests.test_readv_out_of_order|per_transport.TransportTests.test_readv_short_read|per_transport.TransportTests.test_readv_with_adjust_for_latency|per_transport.TransportTests.test_readv_with_adjust_for_latency_with_big_file|per_transport.TransportTests.test_reuse_connection_for_various_paths|test_read_bundle.TestReadMergeableBundleFromURL.test_read_mergeable_respects_possible_transports|test_read_bundle.TestReadMergeableBundleFromURL.test_read_mergeable_from_url|test_read_bundle.TestReadMergeableBundleFromURL.test_read_fail|test_http.TestActivity.test_readv|test_http.TestActivity.test_post|test_http.TestActivity.test_has|test_http.TestActivity.test_get" + skip_tests+=")" + if [[ -n ${skip_tests} ]]; then + einfo "Skipping tests known to fail: ${skip_tests}" + fi + + testing() { + LC_ALL="C" "$(PYTHON)" bzr --no-plugins selftest ${skip_tests:+-x} ${skip_tests} + } + python_execute_function testing + + # Just to make sure we don't hit any errors on later stages. + python_disable_pyc +} + +src_install() { + distutils_src_install --install-data "${EPREFIX}/usr/share" + + if use doc; then + docinto developers + dodoc doc/developers/* || die + for doc in mini-tutorial tutorials user-{guide,reference}; do + docinto $doc + dodoc doc/en/$doc/* || die + done + fi + + dobashcomp contrib/bash/bzr || die +} diff --git a/dev-vcs/bzr/bzr-2.5.1-r1.ebuild b/dev-vcs/bzr/bzr-2.5.1-r1.ebuild new file mode 100644 index 000000000000..bff18fd5605a --- /dev/null +++ b/dev-vcs/bzr/bzr-2.5.1-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads,ssl,xml" + +inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator + +MY_P=${PN}-${PV} +SERIES=$(get_version_component_range 1-2) + +DESCRIPTION="Bazaar is a next generation distributed version control system" +HOMEPAGE="http://bazaar-vcs.org/" +#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" +SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" +IUSE="curl doc +sftp test" + +RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] ) + sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )" + +DEPEND="test? ( + ${RDEPEND} + >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}] + dev-python/subunit + >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.2-no-pyrex-citon.patch" + "${FILESDIR}/${P}-sphinx-test-failures.patch" +) + +python_configure_all() { + # Generate the locales first to avoid a race condition. + esetup.py build_mo +} + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + distutils-r1_python_compile +} + +src_test() { + # Race due to conflicting ports in + # blackbox.test_serve.TestBzrServe.test_bzr_serve*. + DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test +} + +python_test() { + # Some tests expect the usual pyc compiling behaviour. + local -x PYTHONDONTWRITEBYTECODE + + # Define tests which are known to fail below. + local skip_tests="(" + # https://bugs.launchpad.net/bzr/+bug/850676 + skip_tests+="per_transport.TransportTests.test_unicode_paths.*" + skip_tests+=")" + if [[ -n ${skip_tests} ]]; then + einfo "Skipping tests known to fail: ${skip_tests}" + fi + + LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \ + ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + # Fixup manpages manually; passing --install-data causes locales to be + # installed in /usr/share/share/locale + dodir /usr/share + mv "${ED%/}"/usr/{man,share/man} || die + + dodoc doc/*.txt + + if use doc; then + docinto developers + dodoc -r doc/developers/* || die + for doc in mini-tutorial tutorials user-{guide,reference}; do + docinto ${doc} + dodoc -r doc/en/${doc}/* || die + done + fi + + dobashcomp contrib/bash/bzr || die +} diff --git a/dev-vcs/bzr/bzr-2.5.1.ebuild b/dev-vcs/bzr/bzr-2.5.1.ebuild new file mode 100644 index 000000000000..4bc774d19125 --- /dev/null +++ b/dev-vcs/bzr/bzr-2.5.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +PYTHON_DEPEND="2:2.6" +PYTHON_USE_WITH="threads ssl" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" + +inherit bash-completion-r1 distutils eutils versionator + +MY_P=${PN}-${PV} +SERIES=$(get_version_component_range 1-2) + +DESCRIPTION="Bazaar is a next generation distributed version control system" +HOMEPAGE="http://bazaar-vcs.org/" +#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz" +SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="curl doc +sftp test" + +RDEPEND="|| ( dev-lang/python:2.7[xml] dev-lang/python:2.6[xml] dev-python/celementtree ) + curl? ( dev-python/pycurl ) + sftp? ( dev-python/paramiko )" + +DEPEND="test? ( + ${RDEPEND} + >=dev-python/pyftpdlib-0.7.0 + dev-python/subunit + >=dev-python/testtools-0.9.5 + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="doc/*.txt" +PYTHON_MODNAME="bzrlib" + +src_prepare() { + distutils_src_prepare + + # Don't regenerate .c files from .pyx when pyrex is found. + epatch "${FILESDIR}/${PN}-2.4.2-no-pyrex-citon.patch" + + epatch "${FILESDIR}/${P}-sphinx-test-failures.patch" +} + +src_test() { + # Some tests expect the usual pyc compiling behaviour. + python_enable_pyc + + # Define tests which are known to fail below. + local skip_tests="(" + # https://bugs.launchpad.net/bzr/+bug/850676 + skip_tests+="per_transport.TransportTests.test_unicode_paths.*" + skip_tests+=")" + if [[ -n ${skip_tests} ]]; then + einfo "Skipping tests known to fail: ${skip_tests}" + fi + + testing() { + LC_ALL="C" "$(PYTHON)" bzr --no-plugins selftest ${skip_tests:+-x} ${skip_tests} + } + python_execute_function testing + + # Just to make sure we don't hit any errors on later stages. + python_disable_pyc +} + +src_install() { + distutils_src_install --install-data "${EPREFIX}/usr/share" + + if use doc; then + docinto developers + dodoc -r doc/developers/* || die + for doc in mini-tutorial tutorials user-{guide,reference}; do + docinto ${doc} + dodoc -r doc/en/${doc}/* || die + done + fi + + dobashcomp contrib/bash/bzr || die +} diff --git a/dev-vcs/bzr/bzr-2.6.0.ebuild b/dev-vcs/bzr/bzr-2.6.0.ebuild new file mode 100644 index 000000000000..632a97fb53af --- /dev/null +++ b/dev-vcs/bzr/bzr-2.6.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads,ssl,xml" + +inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator + +MY_P=${PN}-${PV} +SERIES=$(get_version_component_range 1-2) + +DESCRIPTION="Bazaar is a next generation distributed version control system" +HOMEPAGE="http://bazaar-vcs.org/" +SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" +IUSE="curl doc +sftp test" + +RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] ) + sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )" + +DEPEND="test? ( + ${RDEPEND} + >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}] + dev-python/subunit + >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +# Fails tests bug#487216 +# Upstream is not exactly keen on fixing it +RESTRICT="test" + +python_configure_all() { + # Generate the locales first to avoid a race condition. + esetup.py build_mo +} + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + distutils-r1_python_compile +} + +src_test() { + # Race due to conflicting ports in + # blackbox.test_serve.TestBzrServe.test_bzr_serve*. + DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test +} + +python_test() { + # Some tests expect the usual pyc compiling behaviour. + local -x PYTHONDONTWRITEBYTECODE + + # Define tests which are known to fail below. + local skip_tests="(" + # https://bugs.launchpad.net/bzr/+bug/850676 + skip_tests+="per_transport.TransportTests.test_unicode_paths.*" + skip_tests+=")" + if [[ -n ${skip_tests} ]]; then + einfo "Skipping tests known to fail: ${skip_tests}" + fi + + LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \ + ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + # Fixup manpages manually; passing --install-data causes locales to be + # installed in /usr/share/share/locale + dodir /usr/share + mv "${ED%/}"/usr/{man,share/man} || die + + dodoc doc/*.txt + + if use doc; then + docinto developers + dodoc -r doc/developers/* || die + for doc in mini-tutorial tutorials user-{guide,reference}; do + docinto ${doc} + dodoc -r doc/en/${doc}/* || die + done + fi + + dobashcomp contrib/bash/bzr || die +} diff --git a/dev-vcs/bzr/files/71bzr-gentoo.el b/dev-vcs/bzr/files/71bzr-gentoo.el new file mode 100644 index 000000000000..e8af05fb6ed6 --- /dev/null +++ b/dev-vcs/bzr/files/71bzr-gentoo.el @@ -0,0 +1,5 @@ + +;;; dev-util/bzr site-lisp configuration + +(unless (fboundp 'vc-bzr-registered) + (add-to-list 'load-path "@SITELISP@")) diff --git a/dev-vcs/bzr/files/bzr-2.4.0-no-pyrex-citon.patch b/dev-vcs/bzr/files/bzr-2.4.0-no-pyrex-citon.patch new file mode 100644 index 000000000000..da5b3c881076 --- /dev/null +++ b/dev-vcs/bzr/files/bzr-2.4.0-no-pyrex-citon.patch @@ -0,0 +1,33 @@ +--- setup.py.orig 2011-08-16 17:18:11.280853205 +0200 ++++ setup.py 2011-08-16 17:20:12.597637778 +0200 +@@ -178,28 +178,8 @@ + from distutils.errors import CCompilerError, DistutilsPlatformError + from distutils.extension import Extension + ext_modules = [] +-try: +- try: +- from Cython.Distutils import build_ext +- from Cython.Compiler.Version import version as pyrex_version +- except ImportError: +- print("No Cython, trying Pyrex...") +- from Pyrex.Distutils import build_ext +- from Pyrex.Compiler.Version import version as pyrex_version +-except ImportError: +- have_pyrex = False +- # try to build the extension from the prior generated source. +- print("") +- print("The python package 'Pyrex' is not available." +- " If the .c files are available,") +- print("they will be built," +- " but modifying the .pyx files will not rebuild them.") +- print("") +- from distutils.command.build_ext import build_ext +-else: +- have_pyrex = True +- pyrex_version_info = tuple(map(int, pyrex_version.split('.'))) +- ++have_pyrex = False ++from distutils.command.build_ext import build_ext + + class build_ext_if_possible(build_ext): + diff --git a/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch b/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch new file mode 100644 index 000000000000..a5128a03d628 --- /dev/null +++ b/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch @@ -0,0 +1,33 @@ +--- setup.py.orig 2011-12-26 12:42:40.308882969 +0100 ++++ setup.py 2011-12-26 12:43:38.861854988 +0100 +@@ -178,28 +178,8 @@ + from distutils.errors import CCompilerError, DistutilsPlatformError + from distutils.extension import Extension + ext_modules = [] +-try: +- try: +- from Cython.Distutils import build_ext +- from Cython.Compiler.Version import version as pyrex_version +- except ImportError: +- print("No Cython, trying Pyrex...") +- from Pyrex.Distutils import build_ext +- from Pyrex.Compiler.Version import version as pyrex_version +-except ImportError: +- have_pyrex = False +- # try to build the extension from the prior generated source. +- print("") +- print("The python package 'Pyrex' is not available." +- " If the .c files are available,") +- print("they will be built," +- " but modifying the .pyx files will not rebuild them.") +- print("") +- from distutils.command.build_ext import build_ext +-else: +- have_pyrex = True +- pyrex_version_info = tuple(map(int, pyrex_version.rstrip("+").split('.'))) +- ++have_pyrex = False ++from distutils.command.build_ext import build_ext + + class build_ext_if_possible(build_ext): + diff --git a/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch b/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch new file mode 100644 index 000000000000..ac1fd0212d6b --- /dev/null +++ b/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch @@ -0,0 +1,24 @@ +Upstream revno 6523 ((vila) Avoid test sphinx-related failures now +that we don't have direct sphinx anymore. (Vincent Ladeuil)) + +=== modified file 'bzrlib/tests/test_utextwrap.py' +--- bzrlib/tests/test_utextwrap.py 2011-05-28 06:44:01 +0000 ++++ bzrlib/tests/test_utextwrap.py 2012-04-17 12:18:27 +0000 +@@ -171,16 +171,6 @@ + + + def setup_both(testcase, base_class, reused_class): +- +- if (features.sphinx.available()): +- # Until https://bitbucket.org/birkenfeld/sphinx/issue/706 is fixed, +- # we can't run these tests when sphinx <= 1.0.1 as it breaks +- # textwrap.TextWrapper.wordsep_re +- version = tuple(map(int, +- features.sphinx.module.__version__.split('.'))) +- if version <= (1, 0, 7): +- raise tests.TestSkipped( +- 'sphinx textwrap monkeypatch breaks utextwrap') + super(base_class, testcase).setUp() + override_textwrap_symbols(testcase) + reused_class.setUp(testcase) + diff --git a/dev-vcs/bzr/metadata.xml b/dev-vcs/bzr/metadata.xml new file mode 100644 index 000000000000..3950aca74bad --- /dev/null +++ b/dev-vcs/bzr/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>bazaar</herd> + <longdescription lang="en"> + Bazaar (``bzr``) is a decentralized revision control system, designed to be + easy for developers and end users alike. Bazaar is part of the GNU project + to develop a complete free operating system. + Bazaar was formerly known as Bazaar-NG. It's the successor to ``baz``, a + fork of GNU arch, but shares no code. (To upgrade from Baz, use the + ``baz-import`` command in the bzrtools plugin.) + </longdescription> + <use> + <flag name="sftp">Enable sftp support</flag> + </use> + <upstream> + <remote-id type="launchpad">bzr</remote-id> + </upstream> +</pkgmetadata> |