summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron DeVore2015-07-08 11:26:00 -0700
committerAaron DeVore2015-07-08 11:26:00 -0700
commitbae32fafe7b5b280609bc2f7eb9f71a9d609d476 (patch)
treeaae7f34970fc9a690e7095f0cc4707d54e8a2c59
downloadaur-bae32fafe7b5b280609bc2f7eb9f71a9d609d476.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD29
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..03bf732e416
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-fudge-docs
+ pkgdesc = Use fake objects (mocks, stubs, etc) to test real ones
+ pkgver = 1.0.3
+ 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
+
+pkgname = python-fudge-docs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3b38183fe0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Aaron DeVore <aaron.devore@gmail.com>
+# Contributor: tocer <tocer.deng@gmail.com>
+
+pkgname=python-fudge-docs
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Use fake objects (mocks, stubs, etc) to test real ones"
+arch=(any)
+url="http://farmdev.com/projects/fudge/"
+license=(MIT)
+depends=()
+makedepends=('python2-sphinx')
+source=(http://pypi.python.org/packages/source/f/fudge/fudge-$pkgver.tar.gz)
+md5sums=('ee0797e0a28732e630938da16137240a')
+
+build() {
+ 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/"
+}
+
+