summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman <rw@rlworkman.net>2010-05-12 17:38:19 +0200
committer Erik Hanson <erik@slackbuilds.org>2010-05-12 17:38:19 +0200
commit512f39e2a6a5673f987c4e83a972457f83d64fe5 (patch)
treed6838aac929a7ebed931bc868f3cfbcde3123e9f
parent3783237f6fc01a0833a0aae1c08e9c9683dd5c5d (diff)
downloadslackbuilds-512f39e2a6a5673f987c4e83a972457f83d64fe5.tar.gz
slackbuilds-512f39e2a6a5673f987c4e83a972457f83d64fe5.tar.xz
development/bzr: Updated for version 1.14
-rw-r--r--development/bzr/README6
-rw-r--r--development/bzr/bzr.SlackBuild20
-rw-r--r--development/bzr/bzr.info8
-rw-r--r--development/bzr/rst2html.py.patch12
-rw-r--r--development/bzr/slack-desc14
5 files changed, 23 insertions, 37 deletions
diff --git a/development/bzr/README b/development/bzr/README
index ee684c97eb..4d81436002 100644
--- a/development/bzr/README
+++ b/development/bzr/README
@@ -2,5 +2,7 @@ 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.
-This requires docutils, which is also available from SlackBuilds.org,
-but it is only a build dependency - it is not needed for running bzr.
+This optionally requires docutils for docs generation, but it is only a
+build dependency - it is not needed for running bzr. Even without the
+docutils package installed, there will still be some documentation with
+the package, so you probably don't need it.
diff --git a/development/bzr/bzr.SlackBuild b/development/bzr/bzr.SlackBuild
index e57db71f64..5eace83df9 100644
--- a/development/bzr/bzr.SlackBuild
+++ b/development/bzr/bzr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bzr
-# Copyright 2006-2008 Robby Workman Northport, AL, USA
+# Copyright 2006-2009 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bzr
-VERSION=1.5
+VERSION=1.14
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -56,13 +56,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix suggested by guys from #bzr at irc.freenode.net
-# Thanks to zpcspm@gmail.com for pointing this out to me
-patch tools/rst2html.py < $CWD/rst2html.py.patch
-
-# Generate docs
-make docs
-
+# Generate docs - this will fail if python docutils is not installed
+make docs 2>/dev/null || true
python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -74,8 +69,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BRANCH.TODO COPYING.txt INSTALL NEWS README TODO doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ BRANCH.TODO COPYING.txt INSTALL NEWS README TODO doc/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/bzr/bzr.info b/development/bzr/bzr.info
index d27ecc7606..a8de70b99c 100644
--- a/development/bzr/bzr.info
+++ b/development/bzr/bzr.info
@@ -1,8 +1,8 @@
PRGNAM="bzr"
-VERSION="1.5"
+VERSION="1.14"
HOMEPAGE="http://bazaar-vcs.org/"
-DOWNLOAD="https://launchpad.net/bzr/1.5/1.5/+download/bzr-1.5.tar.gz"
-MD5SUM="fa82e556401802537eeb8e50ecc8b4e7"
+DOWNLOAD="https://launchpad.net/bzr/1.14/1.14/+download/bzr-1.14.tar.gz"
+MD5SUM="1180a563b525e196ac1cb89110d05432"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="Erik Hanson"
diff --git a/development/bzr/rst2html.py.patch b/development/bzr/rst2html.py.patch
deleted file mode 100644
index a2db229217..0000000000
--- a/development/bzr/rst2html.py.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- /tmp/ttt/bzr-1.5/tools/rst2html.py 2008-05-16 22:21:24.000000000 +0000
-+++ rst2html.py 2008-08-06 16:46:29.000000000 +0000
-@@ -20,7 +20,8 @@
- from docutils.core import publish_cmdline, default_description
-
-
--if docutils.__version__ <= '0.4.1':
-+if True:
-+#if docutils.__version__ <= '0.4.1':
- from docutils.parsers.rst.states import Body
- # we have some option names that contain dot; which is not allowed by
- # python-docutils 0.4-4 -- so monkeypatch in a better pattern
diff --git a/development/bzr/slack-desc b/development/bzr/slack-desc
index d82213c59a..22192e3bad 100644
--- a/development/bzr/slack-desc
+++ b/development/bzr/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler--------------------------------------------------------|
+ |-----handy-ruler-------------------------------------------------------|
bzr: bzr (Bazaar revision control system)
-bzr:
+bzr:
bzr: Bazaar (``bzr``) is a decentralized revision control system, designed
bzr: to be easy for developers and end users alike. Bazaar is part of the
bzr: GNU project to develop a complete free operating system.
-bzr:
+bzr:
bzr: Homepage: http://bazaar-vcs.org/
-bzr:
-bzr:
-bzr:
-bzr:
+bzr:
+bzr:
+bzr:
+bzr: