alunduil    14/10/27 15:25:51

  Added:                ChangeLog metadata.xml fig-0.5.2.ebuild
                        fig-1.0.0.ebuild
  Log:
  add ebuild for fig
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
11A8217C!)

Revision  Changes    Path
1.1                  app-emulation/fig/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for app-emulation/fig
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/fig/ChangeLog,v 1.1 2014/10/27 
15:25:51 alunduil Exp $

*fig-1.0.0 (27 Oct 2014)
*fig-0.5.2 (27 Oct 2014)

  27 Oct 2014; Alex Brandt <[email protected]> +fig-0.5.2.ebuild,
  +fig-1.0.0.ebuild, +files/1.0.0-unvendorize-dockerpty.patch, +metadata.xml:
  add ebuild written by me




1.1                  app-emulation/fig/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <maintainer>
                <email>[email protected]</email>
                <name>Alex Brandt</name>
        </maintainer>
        <longdescription lang="en">
        </longdescription>
</pkgmetadata>



1.1                  app-emulation/fig/fig-0.5.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/fig-0.5.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/fig-0.5.2.ebuild?rev=1.1&content-type=text/plain

Index: fig-0.5.2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/fig/fig-0.5.2.ebuild,v 1.1 
2014/10/27 15:25:51 alunduil Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="Punctual, lightweight development environments using Docker"
HOMEPAGE="http://www.fig.sh/";
SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

CDEPEND="
        >=dev-python/dockerpty-0.2.3[${PYTHON_USEDEP}]
        ~dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
        ~dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
        >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
        ~dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
        ~dev-python/websocket-client-0.11.0[${PYTHON_USEDEP}]
"
DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                ${CDEPEND}
                ~dev-python/mock-1.0.1[${PYTHON_USEDEP}]
                ~dev-python/nose-1.3.0[${PYTHON_USEDEP}]
                dev-python/unittest2[${PYTHON_USEDEP}]
        )
"
RDEPEND="${CDEPEND}"

python_prepare_all() {
        ebegin 'patching setup.py'
        sed \
                -e 's/packages=find_packages(/&exclude=["tests.*", "tests"]/' \
                -i setup.py
        STATUS=$?
        eend ${STATUS}
        [[ ${STATUS} -gt 0 ]] && die

        ebegin 'patching requirements.txt'
        sed \
                -e '3s/==/>=/' \
                -i requirements.txt
        STATUS=$?
        eend ${STATUS}
        [[ ${STATUS} -gt 0 ]] && die

        distutils-r1_python_prepare_all
}

python_test() {
        nosetests tests/unit || die "Tests failed under ${EPYTHON}"
}



1.1                  app-emulation/fig/fig-1.0.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/fig-1.0.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fig/fig-1.0.0.ebuild?rev=1.1&content-type=text/plain

Index: fig-1.0.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/fig/fig-1.0.0.ebuild,v 1.1 
2014/10/27 15:25:51 alunduil Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="Punctual, lightweight development environments using Docker"
HOMEPAGE="http://www.fig.sh/";
SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

CDEPEND="
        >=dev-python/dockerpty-0.2.4[${PYTHON_USEDEP}]
        >=dev-python/docker-py-0.5[${PYTHON_USEDEP}]
        <dev-python/docker-py-0.6[${PYTHON_USEDEP}]
        >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
        <dev-python/docopt-0.7[${PYTHON_USEDEP}]
        >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
        <dev-python/pyyaml-4[${PYTHON_USEDEP}]
        >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
        <dev-python/requests-3[${PYTHON_USEDEP}]
        >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
        <dev-python/six-2[${PYTHON_USEDEP}]
        >=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
        <dev-python/texttable-0.9[${PYTHON_USEDEP}]
        >=dev-python/websocket-client-0.11.0[${PYTHON_USEDEP}]
        <dev-python/websocket-client-0.12[${PYTHON_USEDEP}]
"
DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                ${CDEPEND}
                >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
                dev-python/nose[${PYTHON_USEDEP}]
                $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' 
'python2*')
        )
"
RDEPEND="${CDEPEND}"

python_prepare_all() {
        # Note: patch is 22KiB but should be removed next release.
        local PATCHES=(
                "${FILESDIR}"/1.0.0-unvendorize-dockerpty.patch
        )
        distutils-r1_python_prepare_all
}

python_test() {
        nosetests tests/unit || die "Tests failed under ${EPYTHON}"
}




Reply via email to