[arch-commits] Commit in python-cookiecutter/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 13:20:44 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:20:44
  Author: felixonmars
Revision: 751779

archrelease: copy trunk to community-staging-any

Added:
  python-cookiecutter/repos/community-staging-any/PKGBUILD
    (from rev 751777, python-cookiecutter/trunk/PKGBUILD)
Deleted:
  python-cookiecutter/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 13:20:43 UTC (rev 751778)
+++ PKGBUILD	2020-11-12 13:20:44 UTC (rev 751779)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=cookiecutter
-pkgname=python-cookiecutter
-pkgver=1.7.2
-pkgrel=2
-pkgdesc="A command-line utility that creates projects from project templates"
-arch=('any')
-url="https://github.com/cookiecutter/cookiecutter"
-license=('BSD')
-depends=('python-binaryornot' 'python-click' 'python-future' 'python-jinja'
-'python-jinja-time' 'python-poyo' 'python-requests' 'python-slugify'
-'python-whichcraft')
-makedepends=('python-setuptools')
-checkdepends=('git' 'python-freezegun' 'python-pytest' 'python-pytest-cov'
-'python-pytest-mock')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('8fb6db75703a2c6276d275817b81c0e5d5f15226236e8c5442fbda6198aaec19c3fd68c030f79f6bca55258c0c248660b32d1344f7d6b06ecf5563b43474d877')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-cookiecutter/repos/community-staging-any/PKGBUILD (from rev 751777, python-cookiecutter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 13:20:44 UTC (rev 751779)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=cookiecutter
+pkgname=python-cookiecutter
+pkgver=1.7.2
+pkgrel=3
+pkgdesc="A command-line utility that creates projects from project templates"
+arch=('any')
+url="https://github.com/cookiecutter/cookiecutter"
+license=('BSD')
+depends=('python-binaryornot' 'python-click' 'python-future' 'python-jinja'
+'python-jinja-time' 'python-poyo' 'python-requests' 'python-slugify'
+'python-whichcraft')
+makedepends=('python-setuptools')
+checkdepends=('git' 'python-freezegun' 'python-pytest' 'python-pytest-cov'
+'python-pytest-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('8fb6db75703a2c6276d275817b81c0e5d5f15226236e8c5442fbda6198aaec19c3fd68c030f79f6bca55258c0c248660b32d1344f7d6b06ecf5563b43474d877')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list