summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-05-31 17:07:14 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2013-05-31 17:07:14 +0400
commitc54839b4948c046203fe911aa269ecfa12864dca (patch)
tree4f640955380de1f0c2c78c1acffb228c217a700d
parentAdd btce-api (diff)
downloadalexxy-c54839b4948c046203fe911aa269ecfa12864dca.tar.gz
alexxy-c54839b4948c046203fe911aa269ecfa12864dca.tar.bz2
alexxy-c54839b4948c046203fe911aa269ecfa12864dca.zip
Add bot constructor
Package-Manager: portage-2.2.0_alpha177
-rw-r--r--dev-python/btce-bot/btce-bot-9999.ebuild29
-rw-r--r--dev-python/btce-bot/metadata.xml8
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/btce-bot/btce-bot-9999.ebuild b/dev-python/btce-bot/btce-bot-9999.ebuild
new file mode 100644
index 0000000..66c3b24
--- /dev/null
+++ b/dev-python/btce-bot/btce-bot-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
+
+if [[ $PV = *9999* ]]; then
+ scm_eclass=git-2
+ EGIT_REPO_URI="
+ git://github.com/alanmcintyre/${PN}.git
+ https://github.com/alanmcintyre/${PN}.git"
+ SRC_URI=""
+ KEYWORDS=""
+else
+ scm_eclass=vcs-snapshot
+ SRC_URI="https://github.com/alanmcintyre/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit eutils distutils-r1 ${scm_eclass}
+
+DESCRIPTION="Library to support building trading bots for the BTC-e cryptocurrency exchange"
+HOMEPAGE="https://github.com/alanmcintyre/btce-bot"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
diff --git a/dev-python/btce-bot/metadata.xml b/dev-python/btce-bot/metadata.xml
new file mode 100644
index 0000000..247f458
--- /dev/null
+++ b/dev-python/btce-bot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+</pkgmetadata>