[arch-commits] Commit in python2-docs/repos (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Jul 14 13:45:57 UTC 2014
Date: Monday, July 14, 2014 @ 15:45:57
Author: spupykin
Revision: 115709
archrelease: copy trunk to community-staging-any
Added:
python2-docs/repos/community-staging-any/
python2-docs/repos/community-staging-any/PKGBUILD
(from rev 115708, python2-docs/trunk/PKGBUILD)
python2-docs/repos/community-staging-any/python2-docs.install
(from rev 115708, python2-docs/trunk/python2-docs.install)
----------------------+
PKGBUILD | 22 ++++++++++++++++++++++
python2-docs.install | 10 ++++++++++
2 files changed, 32 insertions(+)
Copied: python2-docs/repos/community-staging-any/PKGBUILD (from rev 115708, python2-docs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2014-07-14 13:45:57 UTC (rev 115709)
@@ -0,0 +1,22 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor : Rohan Dhruva (rohandhruva at gmail dot com)
+
+pkgname=python2-docs
+pkgver=2.7.8
+pkgrel=1
+pkgdesc="Set of HTML documentation for python."
+arch=('any')
+url="http://docs.python.org/"
+license=('GPL')
+install=python2-docs.install
+options=('docs')
+source=(http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2)
+md5sums=('2cf9ba96b2723a5268cd14432b15fdcf')
+
+package() {
+ mkdir -p $pkgdir/usr/share/doc/python2/html
+ cp -rf $srcdir/python-$pkgver-docs-html/* $pkgdir/usr/share/doc/python2/html/
+ find $pkgdir/usr/share/doc/python2/html/ -type f -exec chmod 0644 {} \;
+ find $pkgdir/usr/share/doc/python2/html/ -type d -exec chmod 0755 {} \;
+}
Copied: python2-docs/repos/community-staging-any/python2-docs.install (from rev 115708, python2-docs/trunk/python2-docs.install)
===================================================================
--- community-staging-any/python2-docs.install (rev 0)
+++ community-staging-any/python2-docs.install 2014-07-14 13:45:57 UTC (rev 115709)
@@ -0,0 +1,10 @@
+post_install() {
+ echo
+ echo "Add the following line to your ~/.bashrc "
+ echo "export PYTHONDOCS=/usr/share/doc/python2/html/"
+ echo
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list