aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/example_project')
-rw-r--r--dev-python/example_project/Manifest1
-rw-r--r--dev-python/example_project/example_project-0.3.ebuild32
-rw-r--r--dev-python/example_project/files/requirements.txt7
-rw-r--r--dev-python/example_project/files/setup.py21
-rw-r--r--dev-python/example_project/metadata.xml11
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/example_project/Manifest b/dev-python/example_project/Manifest
new file mode 100644
index 0000000..16cd45a
--- /dev/null
+++ b/dev-python/example_project/Manifest
@@ -0,0 +1 @@
+DIST tampakrap-example_project-6e7a33a.zip 9681 SHA256 b294e248df7aaa16878196f91443207b7563e6c25ec42b9703d907986b35c845 SHA512 59397977b8b7784101f432a7c6516bd68d5842f71c5d67e8c2511d5ac8f28f7bc2eb4c2430b2d7bcd6dba5a0c915468e7541de9198af77df34c871b2363d8d4b WHIRLPOOL d68d6299247bd0cfa2925cc9953535429f559f3e3c3dd07067ec434299ea0b13dd311b231368042d96f571900a2028667196bcca28526a00a945b7edad971e15
diff --git a/dev-python/example_project/example_project-0.3.ebuild b/dev-python/example_project/example_project-0.3.ebuild
new file mode 100644
index 0000000..4b60d30
--- /dev/null
+++ b/dev-python/example_project/example_project-0.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+PYTHON_DEPEND="2:2.7"
+PYTHON_RESTRICT_ABIS="3.*"
+SUPPORT_PYTHON_ABIS=1
+inherit distutils
+
+MY_PN="tampakrap-${PN}-6e7a33a"
+MY_P="tampakrap-${PN}-6e7a33a"
+DESCRIPTION="super tampakrap's wonder of wonders example_project"
+HOMEPAGE="https://github.com/tampakrap/example_project"
+SRC_URI="https://github.com/tampakrap/${PN}/zipball/master/${MY_PN}.zip"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="test mysql sqlite"
+
+RDEPEND="dev-python/django-setuptest
+ >=dev-python/django-1.4.1[mysql]
+ >=dev-python/pycurl-7.19.0
+ dev-python/beautifulsoup
+ =dev-python/feedparser-9999
+ >=dev-python/pycrypto-2.6"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-python/example_project/files/requirements.txt b/dev-python/example_project/files/requirements.txt
new file mode 100644
index 0000000..183453a
--- /dev/null
+++ b/dev-python/example_project/files/requirements.txt
@@ -0,0 +1,7 @@
+Packages required for this django project include;
+
+ django-setuptest
+ >=django-1.4.1 (gentoo users require use flag mysql or sqlite)
+ >pycurl-7.19.0
+ feedparser trunk as of September 2012 (gentoo users, feedparser-9999)
+ pycrypto-2.6
diff --git a/dev-python/example_project/files/setup.py b/dev-python/example_project/files/setup.py
new file mode 100644
index 0000000..839c4ff
--- /dev/null
+++ b/dev-python/example_project/files/setup.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+
+from setuptools import setup, find_packages
+from setuptest import test
+
+setup(
+ name='example_project',
+ version='0.3-dev',
+ description='test',
+ author='test',
+ packages=find_packages(),
+ cmdclass={'test': test},
+
+ license='???',
+ url='"https://github.com/tampakrap/example_project',
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ ]
+)
diff --git a/dev-python/example_project/metadata.xml b/dev-python/example_project/metadata.xml
new file mode 100644
index 0000000..5366461
--- /dev/null
+++ b/dev-python/example_project/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer><email>tampakrap@gentoo.org</email></maintainer>
+ <maintainer>
+ <email>della5@iinet.com.au</email>
+ <name>Ian Delaney aka idella4 proxy maintainer</name>
+ </maintainer>
+
+</pkgmetadata>