summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03bf732e416..faed35a67ba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = python-fudge-docs
pkgdesc = Use fake objects (mocks, stubs, etc) to test real ones
- pkgver = 1.0.3
+ pkgver = 1.1.0
pkgrel = 1
url = http://farmdev.com/projects/fudge/
arch = any
license = MIT
makedepends = python2-sphinx
- source = http://pypi.python.org/packages/source/f/fudge/fudge-1.0.3.tar.gz
- md5sums = ee0797e0a28732e630938da16137240a
+ source = http://pypi.python.org/packages/source/f/fudge/fudge-1.1.0.tar.gz
+ md5sums = 2e10ff35c998bf4bce8c5a986c5181bd
pkgname = python-fudge-docs
diff --git a/PKGBUILD b/PKGBUILD
index 3b38183fe0b..a2d45352781 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: tocer <tocer.deng@gmail.com>
pkgname=python-fudge-docs
-pkgver=1.0.3
+pkgver=1.1.0
pkgrel=1
pkgdesc="Use fake objects (mocks, stubs, etc) to test real ones"
arch=(any)
@@ -11,19 +11,22 @@ license=(MIT)
depends=()
makedepends=('python2-sphinx')
source=(http://pypi.python.org/packages/source/f/fudge/fudge-$pkgver.tar.gz)
-md5sums=('ee0797e0a28732e630938da16137240a')
+md5sums=('2e10ff35c998bf4bce8c5a986c5181bd')
build() {
+ cd "$srcdir/fudge-$pkgver/docs"
+ make html SPHINXBUILD=sphinx-build2
+}
+
+package() {
cd "$srcdir/fudge-$pkgver"
install -Dm644 LICENSE.txt \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
- cd docs
# python-sphinx (Sphinx for Python 3) tries to import Fudge before
# running 2to3 fixers. Instead, use python2-sphinx to correctly
# import the unfixed code.
- make html SPHINXBUILD=sphinx-build2
mkdir -p "$pkgdir/usr/share/doc/python-fudge/"
- cp -a _build/html "$pkgdir/usr/share/doc/python-fudge/"
+ cp -a docs/_build/html "$pkgdir/usr/share/doc/python-fudge/"
}