[arch-commits] Commit in python-dephell-changelogs/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 29 22:18:07 UTC 2021


    Date: Monday, November 29, 2021 @ 22:18:07
  Author: felixonmars
Revision: 1057639

archrelease: copy trunk to community-staging-any

Added:
  python-dephell-changelogs/repos/community-staging-any/
  python-dephell-changelogs/repos/community-staging-any/PKGBUILD
    (from rev 1057638, python-dephell-changelogs/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-dephell-changelogs/repos/community-staging-any/PKGBUILD (from rev 1057638, python-dephell-changelogs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-29 22:18:07 UTC (rev 1057639)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_changelogs
+pkgname=python-dephell-changelogs
+pkgver=0.0.1
+pkgrel=4
+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