public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Octiabrina Terrien-Puig" <octiabrina@myrvogna.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/yams/
Date: Fri,  5 Mar 2021 09:37:05 +0000 (UTC)	[thread overview]
Message-ID: <1614936993.d795df5f29cc465df31ca442a3dddfbc7c5137b2.octiabrina@gentoo> (raw)

commit:     d795df5f29cc465df31ca442a3dddfbc7c5137b2
Author:     Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
AuthorDate: Fri Mar  5 09:36:33 2021 +0000
Commit:     Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
CommitDate: Fri Mar  5 09:36:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d795df5f

dev-python/yams: new package

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net>

 dev-python/yams/Manifest          |  1 +
 dev-python/yams/metadata.xml      | 11 +++++++++
 dev-python/yams/yams-0.7.3.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 dev-python/yams/yams-9999.ebuild  | 48 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 108 insertions(+)

diff --git a/dev-python/yams/Manifest b/dev-python/yams/Manifest
new file mode 100644
index 00000000..cd4697dd
--- /dev/null
+++ b/dev-python/yams/Manifest
@@ -0,0 +1 @@
+DIST yams-0.7.3.tar.gz 31201 BLAKE2B 0b09157c545c3ffe4b2b792c8bd00ebf66f78b65a45904db397b7295d43f4cdefd18c5ef855b88f5652debf6c43902d8e8415cf6d134c51d225bc6ae6ba084dc SHA512 785aae9ce0e371e50dac4070a06102d6ac440acd179b6840d4283b0298dd0ae36f12b9f695ddbf7ee2bb281e4d6e1cfd600a444c4169d5652662da1f8c52f43d

diff --git a/dev-python/yams/metadata.xml b/dev-python/yams/metadata.xml
new file mode 100644
index 00000000..98a7cc03
--- /dev/null
+++ b/dev-python/yams/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>octiabrina@myrvogna.net</email>
+		<name>Octiabrina Terrien-Puig</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">Berulacks/yams</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/yams/yams-0.7.3.ebuild b/dev-python/yams/yams-0.7.3.ebuild
new file mode 100644
index 00000000..51b8e7ea
--- /dev/null
+++ b/dev-python/yams/yams-0.7.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="A Last.FM scrobbler for MPD (Yet Another Mpd Scrobbler)"
+HOMEPAGE="https://github.com/Berulacks/yams"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/Berulacks/yams.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/Berulacks/yams/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+	dev-python/psutil[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/python-mpd[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+"
+RDEPEND="
+	media-sound/mpd
+	${DEPEND}
+"
+
+python_prepare_all() {
+	# Change application name so the .egg-info directory has the
+	# same name as the Python site-package one for consistency
+	sed -e "s/YAMScrobbler/yams/" -i setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+	systemd_douserunit yams.service
+
+	distutils-r1_python_install_all
+}

diff --git a/dev-python/yams/yams-9999.ebuild b/dev-python/yams/yams-9999.ebuild
new file mode 100644
index 00000000..51b8e7ea
--- /dev/null
+++ b/dev-python/yams/yams-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="A Last.FM scrobbler for MPD (Yet Another Mpd Scrobbler)"
+HOMEPAGE="https://github.com/Berulacks/yams"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/Berulacks/yams.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/Berulacks/yams/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+	dev-python/psutil[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/python-mpd[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+"
+RDEPEND="
+	media-sound/mpd
+	${DEPEND}
+"
+
+python_prepare_all() {
+	# Change application name so the .egg-info directory has the
+	# same name as the Python site-package one for consistency
+	sed -e "s/YAMScrobbler/yams/" -i setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+	systemd_douserunit yams.service
+
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2021-03-05  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05  9:37 Octiabrina Terrien-Puig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-08  6:08 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/yams/ Anna Vyalkova
2023-04-29  6:06 Anna Vyalkova
2024-04-14  1:21 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-14  1:17 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614936993.d795df5f29cc465df31ca442a3dddfbc7c5137b2.octiabrina@gentoo \
    --to=octiabrina@myrvogna.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox