[arch-commits] Commit in python-cookies/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:40:54 UTC 2019
Date: Thursday, October 31, 2019 @ 16:40:54
Author: foutrelis
Revision: 521127
archrelease: copy trunk to community-staging-any
Added:
python-cookies/repos/community-staging-any/PKGBUILD
(from rev 521125, python-cookies/trunk/PKGBUILD)
Deleted:
python-cookies/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:40:53 UTC (rev 521126)
+++ PKGBUILD 2019-10-31 16:40:54 UTC (rev 521127)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cookies
-pkgname=('python-cookies' 'python2-cookies')
-pkgver=2.2.1
-_commit=ab8185e06f221eaf65305f15e05852393723ac95
-pkgrel=3
-pkgdesc='Friendlier RFC 6265-compliant cookie parser/renderer'
-arch=('any')
-license=('MIT')
-url='https://github.com/sashahart/cookies'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/sashahart/cookies/archive/$_commit.tar.gz")
-sha512sums=('38f9a4c96179256719f21b96356381066479f1ccadbe6f346f84d5b8d6023a0d6d5bb96f566a1b2d20de7ea5122c582b37f39aa71efbf667f14a607e0d869eb3')
-
-prepare() {
- mv cookies-{$_commit,$pkgver}
- cp -a cookies-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/cookies-$pkgver
- python setup.py build
-
- cd "$srcdir"/cookies-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/cookies-$pkgver
- # https://gitlab.com/sashahart/cookies/issues/6
- python setup.py pytest || warning "Tests failed"
-
- cd "$srcdir"/cookies-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-cookies() {
- depends=('python')
-
- cd cookies-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-cookies() {
- depends=('python2')
-
- cd cookies-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-cookies/repos/community-staging-any/PKGBUILD (from rev 521125, python-cookies/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:40:54 UTC (rev 521127)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cookies
+pkgname=('python-cookies' 'python2-cookies')
+pkgver=2.2.1
+_commit=ab8185e06f221eaf65305f15e05852393723ac95
+pkgrel=4
+pkgdesc='Friendlier RFC 6265-compliant cookie parser/renderer'
+arch=('any')
+license=('MIT')
+url='https://github.com/sashahart/cookies'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/sashahart/cookies/archive/$_commit.tar.gz")
+sha512sums=('38f9a4c96179256719f21b96356381066479f1ccadbe6f346f84d5b8d6023a0d6d5bb96f566a1b2d20de7ea5122c582b37f39aa71efbf667f14a607e0d869eb3')
+
+prepare() {
+ mv cookies-{$_commit,$pkgver}
+ cp -a cookies-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/cookies-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/cookies-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/cookies-$pkgver
+ # https://gitlab.com/sashahart/cookies/issues/6
+ python setup.py pytest || warning "Tests failed"
+
+ cd "$srcdir"/cookies-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-cookies() {
+ depends=('python')
+
+ cd cookies-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cookies() {
+ depends=('python2')
+
+ cd cookies-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list