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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:14:13 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:14:12
  Author: felixonmars
Revision: 752373

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 17:14:01 UTC (rev 752372)
+++ PKGBUILD	2020-11-12 17:14:12 UTC (rev 752373)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pretend
-pkgname=('python-pretend' 'python2-pretend')
-pkgver=1.0.9
-pkgrel=5
-pkgdesc="A library for stubbing in Python"
-arch=('any')
-license=('BSD')
-url="https://github.com/alex/pretend"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/alex/pretend/archive/v$pkgver.tar.gz")
-sha512sums=('976e3272557aecfb11e4147a868ea96e23546e277d57d726f41b945103bef3451039716e6bbc5082d691fa1fd331c06b3d0f8b254deb0510948153571326eaf0')
-
-prepare() {
-  cp -a pretend-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pretend-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pretend-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pretend-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/pretend-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-pretend() {
-  depends=('python')
-
-  cd pretend-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst"
-}
-
-package_python2-pretend() {
-  depends=('python2')
-
-  cd pretend-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst"
-}

Copied: python-pretend/repos/community-staging-any/PKGBUILD (from rev 752372, python-pretend/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 17:14:12 UTC (rev 752373)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pretend
+pkgname=('python-pretend' 'python2-pretend')
+pkgver=1.0.9
+pkgrel=6
+pkgdesc="A library for stubbing in Python"
+arch=('any')
+license=('BSD')
+url="https://github.com/alex/pretend"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/alex/pretend/archive/v$pkgver.tar.gz")
+sha512sums=('976e3272557aecfb11e4147a868ea96e23546e277d57d726f41b945103bef3451039716e6bbc5082d691fa1fd331c06b3d0f8b254deb0510948153571326eaf0')
+
+prepare() {
+  cp -a pretend-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pretend-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pretend-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pretend-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/pretend-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-pretend() {
+  depends=('python')
+
+  cd pretend-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst"
+}
+
+package_python2-pretend() {
+  depends=('python2')
+
+  cd pretend-$pkgver-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst"
+}



More information about the arch-commits mailing list