summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-10-14 21:35:06 +0200
committerPacho Ramos <pacho@gentoo.org>2018-10-14 21:43:45 +0200
commitee5552db93682950ab9b6d87214f3fde209841c4 (patch)
tree002df525719317dd049af6d911cc57688e17c206 /dev-python/backports-os
parentsci-chemistry/tm-align: EAPI-6 bump (diff)
downloadgentoo-ee5552db93682950ab9b6d87214f3fde209841c4.tar.gz
gentoo-ee5552db93682950ab9b6d87214f3fde209841c4.tar.bz2
gentoo-ee5552db93682950ab9b6d87214f3fde209841c4.zip
dev-python/backports-os: New package needed for noto-emoji
Bug: https://bugs.gentoo.org/616974 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python/backports-os')
-rw-r--r--dev-python/backports-os/Manifest1
-rw-r--r--dev-python/backports-os/backports-os-0.1.1.ebuild41
-rw-r--r--dev-python/backports-os/metadata.xml11
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/backports-os/Manifest b/dev-python/backports-os/Manifest
new file mode 100644
index 000000000000..c248a5bc8d54
--- /dev/null
+++ b/dev-python/backports-os/Manifest
@@ -0,0 +1 @@
+DIST backports-os-0.1.1.tar.gz 11359 BLAKE2B 8c1f9ba4d62d9b6b625d31c902feb7532919a0a42064133ef07756a3806a6423a479f5b3c4c9824ebb421a9e1901d8932aa024ced7dd7700119236c186d11137 SHA512 d17c5f6146401fa96c02f2d848d515a5d1dd587ee2199b5e45c177e1853e21e7e7c205a4d89322c5aada71e3a7b34bc7f9afe8183625f76e4ba26aedf2150268
diff --git a/dev-python/backports-os/backports-os-0.1.1.ebuild b/dev-python/backports-os/backports-os-0.1.1.ebuild
new file mode 100644
index 000000000000..0e97f3e2dd19
--- /dev/null
+++ b/dev-python/backports-os/backports-os-0.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Backport of new features in Python's os module"
+HOMEPAGE="https://github.com/pjdelport/backports.os"
+SRC_URI="https://github.com/pjdelport/backports.os/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="PYTHON"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/backports[${PYTHON_USEDEP}]
+ dev-python/future[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}/${P/-/.}"
+
+src_prepare() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install() {
+ distutils-r1_python_install
+ # main namespace provided by dev-python/backports
+ rm "${ED}/$(python_get_sitedir)"/backports/__init__.py* || die
+ rm -rf "${ED}/$(python_get_sitedir)"/backports/__pycache__ || die
+}
diff --git a/dev-python/backports-os/metadata.xml b/dev-python/backports-os/metadata.xml
new file mode 100644
index 000000000000..6f1c50934c2f
--- /dev/null
+++ b/dev-python/backports-os/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pacho@gentoo.org</email>
+ <name>Pacho Ramos</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">blobwars</remote-id>
+ </upstream>
+</pkgmetadata>