[arch-commits] Commit in moinmoin/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Nov 11 10:34:23 UTC 2016
Date: Friday, November 11, 2016 @ 10:34:23
Author: spupykin
Revision: 195336
archrelease: copy trunk to community-any
Added:
moinmoin/repos/community-any/PKGBUILD
(from rev 195335, moinmoin/trunk/PKGBUILD)
moinmoin/repos/community-any/moinmoin.install
(from rev 195335, moinmoin/trunk/moinmoin.install)
Deleted:
moinmoin/repos/community-any/PKGBUILD
moinmoin/repos/community-any/moinmoin.install
------------------+
PKGBUILD | 68 ++++++++++++++++++++++++++---------------------------
moinmoin.install | 35 ++-------------------------
2 files changed, 37 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-11 10:34:11 UTC (rev 195335)
+++ PKGBUILD 2016-11-11 10:34:23 UTC (rev 195336)
@@ -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.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
-}
Copied: moinmoin/repos/community-any/PKGBUILD (from rev 195335, moinmoin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-11 10:34:23 UTC (rev 195336)
@@ -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.9
+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=('32f02a5d0df06b80d889ca6cdc51593e')
+
+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 2016-11-11 10:34:11 UTC (rev 195335)
+++ moinmoin.install 2016-11-11 10:34:23 UTC (rev 195336)
@@ -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 195335, moinmoin/trunk/moinmoin.install)
===================================================================
--- moinmoin.install (rev 0)
+++ moinmoin.install 2016-11-11 10:34:23 UTC (rev 195336)
@@ -0,0 +1,3 @@
+post_install() {
+ echo "Check https://wiki.archlinux.org/index.php/Moinmoin page for instructions"
+}
More information about the arch-commits
mailing list