[arch-commits] Commit in moinmoin/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Thu Oct 23 17:23:43 UTC 2014
Date: Thursday, October 23, 2014 @ 19:23:42
Author: spupykin
Revision: 121303
archrelease: copy trunk to community-any
Added:
moinmoin/repos/community-any/PKGBUILD
(from rev 121302, moinmoin/trunk/PKGBUILD)
moinmoin/repos/community-any/moinmoin.install
(from rev 121302, moinmoin/trunk/moinmoin.install)
Deleted:
moinmoin/repos/community-any/PKGBUILD
moinmoin/repos/community-any/moinmoin.install
------------------+
PKGBUILD | 68 ++++++++++++++++++++++++++---------------------------
moinmoin.install | 64 ++++++++++++++++++++++++-------------------------
2 files changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-23 17:23:35 UTC (rev 121302)
+++ PKGBUILD 2014-10-23 17:23:42 UTC (rev 121303)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Samuel Mathieson <smathieson at gmail.com>
-
-pkgname=moinmoin
-_xpkgname=moin
-pkgver=1.9.7
-pkgrel=2
-pkgdesc="A python wiki clone"
-arch=(any)
-url="http://moinmo.in/"
-license=('GPL')
-depends=('python2')
-conflicts=('moin')
-install=moinmoin.install
-source=(http://static.moinmo.in/files/moin-$pkgver.tar.gz)
-md5sums=('cc2b00f6a27717c097d27da34e8d3249')
-
-build() {
- cd $srcdir/${_xpkgname}-$pkgver
-
- # python2 fix
- for file in $(find . -name '*.py' -print) wiki/server/*; do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py build
-}
-
-package() {
- cd $srcdir/${_xpkgname}-$pkgver
- python2 setup.py install --root=$pkgdir --record=INSTALLED_FILES
-}
Copied: moinmoin/repos/community-any/PKGBUILD (from rev 121302, moinmoin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-10-23 17:23:42 UTC (rev 121303)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Samuel Mathieson <smathieson at gmail.com>
+
+pkgname=moinmoin
+_xpkgname=moin
+pkgver=1.9.8
+pkgrel=1
+pkgdesc="A python wiki clone"
+arch=(any)
+url="http://moinmo.in/"
+license=('GPL')
+depends=('python2')
+conflicts=('moin')
+install=moinmoin.install
+source=(http://static.moinmo.in/files/moin-$pkgver.tar.gz)
+md5sums=('375a57b62565c789488c4d5b759c182c')
+
+build() {
+ cd $srcdir/${_xpkgname}-$pkgver
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print) wiki/server/*; do
+ sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+ sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+ done
+
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/${_xpkgname}-$pkgver
+ python2 setup.py install --root=$pkgdir --record=INSTALLED_FILES
+}
Deleted: moinmoin.install
===================================================================
--- moinmoin.install 2014-10-23 17:23:35 UTC (rev 121302)
+++ moinmoin.install 2014-10-23 17:23:42 UTC (rev 121303)
@@ -1,32 +0,0 @@
-post_install() {
- echo "
-Remember to add these lines to your apache configuration:
-/etc/httpd/conf/httpd.conf
-
-Alias /wiki/ \"/usr/share/moin/htdocs/\"
-<Directory /usr/share/moin/htdocs/>
- Order deny,allow
- Allow from all
-</Directory>
-<Location /mywiki>
- SetHandler python-program
- PythonPath \"['/home/httpd/html/mywiki'] + sys.path\"
- PythonHandler MoinMoin.request::RequestModPy.run
- PythonOption Location /mywiki
-</Location>
-
-
----
-
-Then copy wikiconfig.py into /home/httpd/html/wiki/wikiconfig.py and
-change the following:
-
-data_dir = '/usr/share/moin/data'
-data_underlay_dir = '/usr/share/moin/underlay'
-
-Don't forget to give write access to these dirs.
-
-Restart apache and enjoy at the following:
-httpd://localhost/mywiki/
-"
-}
Copied: moinmoin/repos/community-any/moinmoin.install (from rev 121302, moinmoin/trunk/moinmoin.install)
===================================================================
--- moinmoin.install (rev 0)
+++ moinmoin.install 2014-10-23 17:23:42 UTC (rev 121303)
@@ -0,0 +1,32 @@
+post_install() {
+ echo "
+Remember to add these lines to your apache configuration:
+/etc/httpd/conf/httpd.conf
+
+Alias /wiki/ \"/usr/share/moin/htdocs/\"
+<Directory /usr/share/moin/htdocs/>
+ Order deny,allow
+ Allow from all
+</Directory>
+<Location /mywiki>
+ SetHandler python-program
+ PythonPath \"['/home/httpd/html/mywiki'] + sys.path\"
+ PythonHandler MoinMoin.request::RequestModPy.run
+ PythonOption Location /mywiki
+</Location>
+
+
+---
+
+Then copy wikiconfig.py into /home/httpd/html/wiki/wikiconfig.py and
+change the following:
+
+data_dir = '/usr/share/moin/data'
+data_underlay_dir = '/usr/share/moin/underlay'
+
+Don't forget to give write access to these dirs.
+
+Restart apache and enjoy at the following:
+httpd://localhost/mywiki/
+"
+}
More information about the arch-commits
mailing list