summaryrefslogtreecommitdiff
path: root/dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild')
-rw-r--r--dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild b/dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild
new file mode 100644
index 000000000000..d24e31d07ff1
--- /dev/null
+++ b/dev-vcs/github-pages-publish/github-pages-publish-0.1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+GIT_ECLASS=
+if [[ ${PV} = *9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git"
+fi
+
+inherit distutils-r1 ${GIT_ECLASS}
+
+DESCRIPTION="A script that commits files from a directory to Github Pages"
+HOMEPAGE="https://pypi.org/project/github-pages-publish/
+ https://github.com/rafaelmartins/github-pages-publish"
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+ KEYWORDS=""
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-python/pygit2-0.20.0"
+RDEPEND="${DEPEND}"