[arch-commits] Commit in docker-compose/repos (6 files)

Felix Yan fyan at archlinux.org
Fri Nov 13 06:30:13 UTC 2015


    Date: Friday, November 13, 2015 @ 07:30:13
  Author: fyan
Revision: 146668

archrelease: copy trunk to community-i686, community-x86_64

Added:
  docker-compose/repos/community-i686/
  docker-compose/repos/community-i686/PKGBUILD
    (from rev 146667, docker-compose/trunk/PKGBUILD)
  docker-compose/repos/community-i686/remove-requires-upper-bound.patch
    (from rev 146667, docker-compose/trunk/remove-requires-upper-bound.patch)
  docker-compose/repos/community-x86_64/
  docker-compose/repos/community-x86_64/PKGBUILD
    (from rev 146667, docker-compose/trunk/PKGBUILD)
  docker-compose/repos/community-x86_64/remove-requires-upper-bound.patch
    (from rev 146667, docker-compose/trunk/remove-requires-upper-bound.patch)

----------------------------------------------------+
 community-i686/PKGBUILD                            |   43 +++++++++++++++++++
 community-i686/remove-requires-upper-bound.patch   |   27 +++++++++++
 community-x86_64/PKGBUILD                          |   43 +++++++++++++++++++
 community-x86_64/remove-requires-upper-bound.patch |   27 +++++++++++
 4 files changed, 140 insertions(+)

Copied: docker-compose/repos/community-i686/PKGBUILD (from rev 146667, docker-compose/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-11-13 06:30:13 UTC (rev 146668)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: 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.5.1
+pkgrel=1
+pkgdesc="Fast, isolated development environments using Docker"
+arch=('i686' 'x86_64')
+url="https://www.docker.com/"
+depends=('python-docopt' 'python-yaml' 'python-requests' 'python-six' 'python-texttable'
+         'python-websocket-client' 'python-docker-py' 'python-dockerpty' 'python-setuptools'
+         'python-jsonschema')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz"
+        "remove-requires-upper-bound.patch")
+license=("BSD")
+sha256sums=('334814f64910823fa588e89eea8f73d8ad3bb0d304e513fe51026a1f1d08d3db'
+            '06bd229e1d62632dc199d3b2de82571dff73631865fe6108e3a62c8441c281bf')
+
+[[ "$CARCH" == "x86_64" ]] && depends+=('docker')
+
+prepare() {
+  cd "$srcdir/compose-$pkgver"
+
+  # Remove upper bound on requires
+  patch -p1 -i "$srcdir/remove-requires-upper-bound.patch"
+  sed -i 's/==/>=/g' requirements.txt
+}
+
+build() {
+  cd "$srcdir/compose-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/compose-$pkgver"
+
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 contrib/completion/bash/docker-compose "$pkgdir/etc/bash_completion.d/docker-compose"
+}

Copied: docker-compose/repos/community-i686/remove-requires-upper-bound.patch (from rev 146667, docker-compose/trunk/remove-requires-upper-bound.patch)
===================================================================
--- community-i686/remove-requires-upper-bound.patch	                        (rev 0)
+++ community-i686/remove-requires-upper-bound.patch	2015-11-13 06:30:13 UTC (rev 146668)
@@ -0,0 +1,27 @@
+--- compose-1.3.0/setup.py.orig	2015-06-18 20:25:10.000000000 +0200
++++ compose-1.3.0/setup.py	2015-06-21 17:27:42.319085182 +0200
+@@ -25,15 +25,15 @@
+ 
+ 
+ install_requires = [
+-    'docopt >= 0.6.1, < 0.7',
+-    'PyYAML >= 3.10, < 4',
+-    'requests >= 2.6.1, < 2.8',
+-    'texttable >= 0.8.1, < 0.9',
+-    'websocket-client >= 0.32.0, < 1.0',
+-    'docker-py >= 1.5.0, < 2',
+-    'dockerpty >= 0.3.4, < 0.4',
+-    'six >= 1.3.0, < 2',
+-    'jsonschema >= 2.5.1, < 3',
++    'docopt >= 0.6.1',
++    'PyYAML >= 3.10',
++    'requests >= 2.6.1',
++    'texttable >= 0.8.1',
++    'websocket-client >= 0.32.0',
++    'docker-py >= 1.3.1',
++    'dockerpty >= 0.3.4',
++    'six >= 1.3.0',
++    'jsonschema >= 2.5.1',
+ ]
+ 
+ 

Copied: docker-compose/repos/community-x86_64/PKGBUILD (from rev 146667, docker-compose/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-11-13 06:30:13 UTC (rev 146668)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: 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.5.1
+pkgrel=1
+pkgdesc="Fast, isolated development environments using Docker"
+arch=('i686' 'x86_64')
+url="https://www.docker.com/"
+depends=('python-docopt' 'python-yaml' 'python-requests' 'python-six' 'python-texttable'
+         'python-websocket-client' 'python-docker-py' 'python-dockerpty' 'python-setuptools'
+         'python-jsonschema')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz"
+        "remove-requires-upper-bound.patch")
+license=("BSD")
+sha256sums=('334814f64910823fa588e89eea8f73d8ad3bb0d304e513fe51026a1f1d08d3db'
+            '06bd229e1d62632dc199d3b2de82571dff73631865fe6108e3a62c8441c281bf')
+
+[[ "$CARCH" == "x86_64" ]] && depends+=('docker')
+
+prepare() {
+  cd "$srcdir/compose-$pkgver"
+
+  # Remove upper bound on requires
+  patch -p1 -i "$srcdir/remove-requires-upper-bound.patch"
+  sed -i 's/==/>=/g' requirements.txt
+}
+
+build() {
+  cd "$srcdir/compose-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/compose-$pkgver"
+
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 contrib/completion/bash/docker-compose "$pkgdir/etc/bash_completion.d/docker-compose"
+}

Copied: docker-compose/repos/community-x86_64/remove-requires-upper-bound.patch (from rev 146667, docker-compose/trunk/remove-requires-upper-bound.patch)
===================================================================
--- community-x86_64/remove-requires-upper-bound.patch	                        (rev 0)
+++ community-x86_64/remove-requires-upper-bound.patch	2015-11-13 06:30:13 UTC (rev 146668)
@@ -0,0 +1,27 @@
+--- compose-1.3.0/setup.py.orig	2015-06-18 20:25:10.000000000 +0200
++++ compose-1.3.0/setup.py	2015-06-21 17:27:42.319085182 +0200
+@@ -25,15 +25,15 @@
+ 
+ 
+ install_requires = [
+-    'docopt >= 0.6.1, < 0.7',
+-    'PyYAML >= 3.10, < 4',
+-    'requests >= 2.6.1, < 2.8',
+-    'texttable >= 0.8.1, < 0.9',
+-    'websocket-client >= 0.32.0, < 1.0',
+-    'docker-py >= 1.5.0, < 2',
+-    'dockerpty >= 0.3.4, < 0.4',
+-    'six >= 1.3.0, < 2',
+-    'jsonschema >= 2.5.1, < 3',
++    'docopt >= 0.6.1',
++    'PyYAML >= 3.10',
++    'requests >= 2.6.1',
++    'texttable >= 0.8.1',
++    'websocket-client >= 0.32.0',
++    'docker-py >= 1.3.1',
++    'dockerpty >= 0.3.4',
++    'six >= 1.3.0',
++    'jsonschema >= 2.5.1',
+ ]
+ 
+ 



More information about the arch-commits mailing list