sci-chemistry/p3d: distutils-r1, git-r3, EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 22:31:52 +0000 (23:31 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 22:33:08 +0000 (23:33 +0100)
sci-chemistry/p3d/p3d-0.4.3-r1.ebuild [moved from sci-chemistry/p3d/p3d-0.4.3.ebuild with 67% similarity]
sci-chemistry/p3d/p3d-9999.ebuild

similarity index 67%
rename from sci-chemistry/p3d/p3d-0.4.3.ebuild
rename to sci-chemistry/p3d/p3d-0.4.3-r1.ebuild
index 294acb0758607482fd8de8ae661231b9b6097100..6961e1e0e19b726c9b53ebc1c32a4b4001bffa74 100644 (file)
@@ -1,13 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=6
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils versionator
+inherit distutils-r1 vcs-snapshot versionator
 
 MY_P="${PN}-$(replace_version_separator 3 -)"
 GITHUB_ID="gb8b9a75"
@@ -21,15 +20,11 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 LICENSE="GPL-3"
 IUSE="examples"
 
-src_prepare() {
-       mv fu* ${P}
-       distutils_src_prepare
-}
-
 src_install() {
-       distutils_src_install
+       distutils-r1_src_install
+
        if use examples; then
                insinto /usr/share/${PN}
-               doins -r pdbs exampleScripts || die
+               doins -r pdbs exampleScripts
        fi
 }
index e0f8087a0cc2f3eb9b79f5beecffc0b039d19c56..6edf6afec46b291f6dec9caf9fe6713f4cd9a520 100644 (file)
@@ -1,28 +1,26 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=6
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python2_7 )
 
-inherit git-2 distutils versionator
+inherit distutils-r1 git-r3 versionator
 
 DESCRIPTION="Python module for structural bioinformatics"
 HOMEPAGE="http://p3d.fufezan.net/"
 SRC_URI=""
-EGIT_REPO_URI="git://github.com/fu/p3d.git"
+EGIT_REPO_URI="https://github.com/fu/p3d.git"
 
 SLOT="0"
 KEYWORDS=""
 LICENSE="GPL-3"
 IUSE="examples"
 
-S="${WORKDIR}"/${PN}
-
 src_install() {
-       distutils_src_install
+       distutils-r1_src_install
+
        if use examples; then
                insinto /usr/share/${PN}
                doins -r pdbs exampleScripts || die