[arch-commits] Commit in python-wikipedia/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 07:30:25 UTC 2019
Date: Monday, November 4, 2019 @ 07:30:24
Author: felixonmars
Revision: 523508
archrelease: copy trunk to community-staging-any
Added:
python-wikipedia/repos/community-staging-any/
python-wikipedia/repos/community-staging-any/PKGBUILD
(from rev 523507, python-wikipedia/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-wikipedia/repos/community-staging-any/PKGBUILD (from rev 523507, python-wikipedia/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 07:30:24 UTC (rev 523508)
@@ -0,0 +1,33 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Chuan Ji <jichuan89 at gmail.com>
+
+pkgname=python-wikipedia
+pkgver=1.4.0
+pkgrel=7
+pkgdesc='A Pythonic wrapper for the Wikipedia API'
+arch=(any)
+url=https://github.com/goldsmith/Wikipedia
+license=(MIT)
+depends=(
+ python-beautifulsoup4
+ python-requests
+)
+makedepends=(python-setuptools)
+source=(https://pypi.python.org/packages/source/w/wikipedia/wikipedia-${pkgver}.tar.gz)
+sha256sums=(db0fad1829fdd441b1852306e9856398204dc0786d2996dd2e0c8bb8e26133b2)
+
+build() {
+ cd wikipedia-${pkgver}
+
+ python setup.py build
+}
+
+package_python-wikipedia() {
+ cd wikipedia-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-wikipedia/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list