alunduil    14/11/10 02:01:16

  Modified:             ChangeLog
  Added:                dockerpty-0.3.2.ebuild
  Log:
  add version 0.3.2
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
11A8217C!)

Revision  Changes    Path
1.2                  dev-python/dockerpty/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dockerpty/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dockerpty/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dockerpty/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/dockerpty/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   27 Oct 2014 02:02:53 -0000      1.1
+++ ChangeLog   10 Nov 2014 02:01:16 -0000      1.2
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/dockerpty
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dockerpty/ChangeLog,v 1.1 
2014/10/27 02:02:53 alunduil Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dockerpty/ChangeLog,v 1.2 
2014/11/10 02:01:16 alunduil Exp $
+
+*dockerpty-0.3.2 (10 Nov 2014)
+
+  10 Nov 2014; Alex Brandt <alund...@gentoo.org> +dockerpty-0.3.2.ebuild:
+  add version 0.3.2
 
 *dockerpty-0.2.4 (27 Oct 2014)
 



1.1                  dev-python/dockerpty/dockerpty-0.3.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dockerpty/dockerpty-0.3.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dockerpty/dockerpty-0.3.2.ebuild?rev=1.1&content-type=text/plain

Index: dockerpty-0.3.2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/dockerpty/dockerpty-0.3.2.ebuild,v 1.1 
2014/11/10 02:01:16 alunduil Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="Python library to use the pseudo-tty of a docker container"
HOMEPAGE="https://github.com/d11wtq/dockerpty";
SRC_URI="https://github.com/d11wtq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"

DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                >=dev-python/behave-1.2.4[${PYTHON_USEDEP}]
                >=dev-python/docker-py-0.3.2[${PYTHON_USEDEP}]
                >=dev-python/expects-0.4[${PYTHON_USEDEP}]
                >=dev-python/pytest-2.5.2[${PYTHON_USEDEP}]
        )
"
RDEPEND=">=dev-python/docker-py-0.3.2[${PYTHON_USEDEP}]"

python_test() {
        local RUN_FEATURES=0

        ewarn "${PN} tests require portage to be in the docker group!"
        getent group docker |& grep portage 1>/dev/null 2>&1
        RUN_FEATURES+=$?

        ewarn "${PN} tests require a running docker service!"
        which docker 1>/dev/null 2>&1 && docker info 1>/dev/null 2>&1
        RUN_FEATURES+=$?

        if [[ ${RUN_FEATURES} -eq 0 ]]; then
                behave || die "Feature tests failed under ${EPYTHON}"

        fi

        py.test tests || die "Tests failed under ${EPYTHON}"
}




Reply via email to