--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
+
+inherit distutils-r1
+
+DESCRIPTION="framework for ebuild generators"
+HOMEPAGE="https://github.com/jauhien/g-sorcery"
+SRC_URI="https://github.com/jauhien/g-sorcery/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="bson git"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
+
+DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
+ git? ( dev-vcs/git )
+ sys-apps/portage[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
+
+python_test() {
+ PYTHONPATH="." "${PYTHON}" scripts/run_tests.py
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ doman docs/*.8
+ dohtml docs/developer_instructions.html
+ diropts -m0777
+ dodir /var/lib/g-sorcery
+}
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-PYTHON_COMPAT=(python{2_7,3_3,3_4})
+PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
-inherit distutils-r1 git-2
+inherit distutils-r1 git-r3
DESCRIPTION="framework for ebuild generators"
HOMEPAGE="https://github.com/jauhien/g-sorcery"