From: "Jauhien Piatlicki" <piatlicki@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/g-sorcery:master commit in: g_elpa/
Date: Thu, 18 Jul 2013 17:26:33 +0000 (UTC) [thread overview]
Message-ID: <1374167615.46a0694c1bd3dee28d76ec1b34772b77ffa0c2db.jauhien@gentoo> (raw)
commit: 46a0694c1bd3dee28d76ec1b34772b77ffa0c2db
Author: Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com>
AuthorDate: Thu Jul 18 17:13:35 2013 +0000
Commit: Jauhien Piatlicki <piatlicki <AT> gmail <DOT> com>
CommitDate: Thu Jul 18 17:13:35 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/g-sorcery.git;a=commit;h=46a0694c
g_elpa/elpa_db: use Dependency class in depend and rdepend
---
g_elpa/elpa_db.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g_elpa/elpa_db.py b/g_elpa/elpa_db.py
index 16d7f1f..70378ac 100644
--- a/g_elpa/elpa_db.py
+++ b/g_elpa/elpa_db.py
@@ -22,7 +22,7 @@ if py2k:
else:
from urllib.parse import urljoin
-from g_sorcery.g_collections import Package, serializable_elist
+from g_sorcery.g_collections import Dependency, Package, serializable_elist
from g_sorcery.package_db import PackageDB
from g_sorcery.fileutils import load_remote_file
from g_sorcery.exceptions import SyncError
@@ -72,7 +72,7 @@ class ElpaDB(PackageDB):
for dep in deps:
dep_pkg = self._s_get_package(dep[DEP_NAME], dep[DEP_VERSION])
dependencies.append(dep_pkg)
- depend.append(dep_pkg.category + '/' + dep_pkg.name)
+ depend.append(Dependency(dep_pkg.category, dep_pkg.name))
properties = {'source_type' : source_type,
'description' : description,
next reply other threads:[~2013-07-18 17:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-18 17:26 Jauhien Piatlicki [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-17 15:41 [gentoo-commits] proj/g-sorcery:master commit in: g_elpa/ Jauhien Piatlicki
2013-07-16 23:09 Jauhien Piatlicki
2013-07-16 23:09 Jauhien Piatlicki
2013-07-16 23:09 Jauhien Piatlicki
2013-07-16 22:07 Jauhien Piatlicki
2013-07-15 23:01 Jauhien Piatlicki
2013-07-15 20:47 Jauhien Piatlicki
2013-07-04 21:26 Jauhien Piatlicki
2013-07-02 11:32 Jauhien Piatlicki
2013-07-02 8:39 Jauhien Piatlicki
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=1374167615.46a0694c1bd3dee28d76ec1b34772b77ffa0c2db.jauhien@gentoo \
--to=piatlicki@gmail.com \
--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