[arch-commits] Commit in docker-compose/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu May 3 12:23:50 UTC 2018
Date: Thursday, May 3, 2018 @ 12:23:49
Author: foxboron
Revision: 318856
archrelease: copy trunk to community-any
Added:
docker-compose/repos/community-any/PKGBUILD
(from rev 318855, docker-compose/trunk/PKGBUILD)
Deleted:
docker-compose/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-03 12:23:42 UTC (rev 318855)
+++ PKGBUILD 2018-05-03 12:23:49 UTC (rev 318856)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Andrew Crerar <crerar at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Iwan Timmer <irtimmer at gmail.com>
-# Contributor: Vincent Demeester <vincent at sbr.io>
-# Contributor: Josh VanderLinden <arch at cloudlery.com>
-
-pkgname=docker-compose
-pkgver=1.21.1
-pkgrel=1
-pkgdesc="Fast, isolated development environments using Docker"
-arch=('any')
-url="https://www.docker.com/"
-license=("Apache")
-depends=('python-cached-property' 'python-docopt' 'python-yaml' 'python-requests'
- 'python-texttable' 'python-websocket-client' 'python-docker' 'python-dockerpty'
- 'python-six' 'python-jsonschema' 'python-setuptools' 'docker')
-checkdepends=('python-pytest-runner' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz")
-sha512sums=('1475cb6dc253b4080e11fa142721cd0e0d8fac903a928ddee4b96324b51f2819f427d055e25f9b4e76db0ffdd128d72ea3e42c151afbdb68d75ff386baced593')
-
-prepare() {
- cd compose-$pkgver
-
- # Remove upper bound on requires
- sed -i 's/==/>=/g' requirements.txt
- sed -i "s/, < .*',$/',/" setup.py
-}
-
-build() {
- cd compose-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
- # TODO: need a running docker daemon to test
-
- cd compose-$pkgver
- # python setup.py install --root="$PWD/tmp_install" --optimize=1
- # PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" python setup.py pytest
-}
-
-package() {
- cd compose-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 contrib/completion/bash/docker-compose "$pkgdir"/usr/share/bash-completion/completions/docker-compose
- install -Dm644 contrib/completion/fish/docker-compose.fish "$pkgdir"/usr/share/fish/completions/docker-compose.fish
- install -Dm644 contrib/completion/zsh/_docker-compose "$pkgdir"/usr/share/zsh/site-functions/_docker-compose
-}
Copied: docker-compose/repos/community-any/PKGBUILD (from rev 318855, docker-compose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-03 12:23:49 UTC (rev 318856)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+# Contributor: Vincent Demeester <vincent at sbr.io>
+# Contributor: Josh VanderLinden <arch at cloudlery.com>
+
+pkgname=docker-compose
+pkgver=1.21.2
+pkgrel=1
+pkgdesc="Fast, isolated development environments using Docker"
+arch=('any')
+url="https://www.docker.com/"
+license=("Apache")
+depends=('python-cached-property' 'python-docopt' 'python-yaml' 'python-requests'
+ 'python-texttable' 'python-websocket-client' 'python-docker' 'python-dockerpty'
+ 'python-six' 'python-jsonschema' 'python-setuptools' 'docker')
+checkdepends=('python-pytest-runner' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz")
+sha512sums=('6392582d8c6c321458b1163336f1c902548cc250f9ab5b765d144287b006ef6dacdc47199fafbb6efe426e382325b94986aa159df08dec4974a71968862a8435')
+
+prepare() {
+ cd compose-$pkgver
+
+ # Remove upper bound on requires
+ sed -i 's/==/>=/g' requirements.txt
+ sed -i "s/, < .*',$/',/" setup.py
+}
+
+build() {
+ cd compose-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+ # TODO: need a running docker daemon to test
+
+ cd compose-$pkgver
+ # python setup.py install --root="$PWD/tmp_install" --optimize=1
+ # PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" python setup.py pytest
+}
+
+package() {
+ cd compose-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 contrib/completion/bash/docker-compose "$pkgdir"/usr/share/bash-completion/completions/docker-compose
+ install -Dm644 contrib/completion/fish/docker-compose.fish "$pkgdir"/usr/share/fish/completions/docker-compose.fish
+ install -Dm644 contrib/completion/zsh/_docker-compose "$pkgdir"/usr/share/zsh/site-functions/_docker-compose
+}
More information about the arch-commits
mailing list