[arch-commits] Commit in python-dephell-changelogs/repos (2 files)
Eli Schwartz
eschwartz at archlinux.org
Mon Mar 30 14:08:03 UTC 2020
Date: Monday, March 30, 2020 @ 14:08:02
Author: eschwartz
Revision: 606995
archrelease: copy trunk to community-any
Added:
python-dephell-changelogs/repos/community-any/
python-dephell-changelogs/repos/community-any/PKGBUILD
(from rev 606994, python-dephell-changelogs/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-dephell-changelogs/repos/community-any/PKGBUILD (from rev 606994, python-dephell-changelogs/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-30 14:08:02 UTC (rev 606995)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_changelogs
+pkgname=python-dephell-changelogs
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="Find changelog for github repository, local dir, parse changelog"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('MIT')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e639a3d08d389e22fbac0cc64181dbe93c4b4ba9f0134e273e6dd3e26ae70b21')
+b2sums=('6ec5383ff411e944ea90ae1a47061fdbd3f8bb5cfe9342936a3bebe8fc1e1791f7a5b7dfdb6d2d25bcee3ab1bf28d8bbf9101bb5d317afb5705e909964c49f68')
+
+build(){
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python -m pytest
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list