[arch-commits] Commit in python-wikipedia/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:04:35 UTC 2020
Date: Thursday, November 12, 2020 @ 19:04:34
Author: felixonmars
Revision: 753332
archrelease: copy trunk to community-staging-any
Added:
python-wikipedia/repos/community-staging-any/
python-wikipedia/repos/community-staging-any/PKGBUILD
(from rev 753331, python-wikipedia/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-wikipedia/repos/community-staging-any/PKGBUILD (from rev 753331, python-wikipedia/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:04:34 UTC (rev 753332)
@@ -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=8
+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