aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/django-activity-stream/Manifest1
-rw-r--r--dev-python/django-activity-stream/django-activity-stream-2.0.0.ebuild39
-rw-r--r--dev-python/django-activity-stream/metadata.xml40
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-python/django-activity-stream/Manifest b/dev-python/django-activity-stream/Manifest
new file mode 100644
index 0000000..f6dab69
--- /dev/null
+++ b/dev-python/django-activity-stream/Manifest
@@ -0,0 +1 @@
+DIST django-activity-stream-2.0.0.tar.gz 41331 BLAKE2B abe73c6e8c0da19cda5fcc4a73b57106f49c20580e9e2823e4a296d8272e6d026121c9d834729166bae9d39ecab2ea1f169aa81df588f845a107a59dcddaac23 SHA512 62a4b863609ddf8f515d45755255543c848148443e6c8563f79dd4b9116c335dd19fac7a895a43bcecb1051b14ef65ceae69a175beb8af0b829691f8d3f5f563
diff --git a/dev-python/django-activity-stream/django-activity-stream-2.0.0.ebuild b/dev-python/django-activity-stream/django-activity-stream-2.0.0.ebuild
new file mode 100644
index 0000000..f9be024
--- /dev/null
+++ b/dev-python/django-activity-stream/django-activity-stream-2.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Generate generic activity streams from the actions on your site"
+HOMEPAGE="
+ https://pypi.org/project/django-activity-stream
+ https://github.com/justquick/django-activity-stream
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+# Can't get django tests to run
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/django-3.2[${PYTHON_USEDEP}]
+ >=dev-python/django-mysql-2.4.1[${PYTHON_USEDEP}]
+ dev-python/djangorestframework[${PYTHON_USEDEP}]
+ dev-python/drf-spectacular[${PYTHON_USEDEP}]
+ >=dev-python/mysqlclient-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/psycopg-2.8.0[${PYTHON_USEDEP}]
+ dev-python/rest-framework-generic-relations
+
+ test? (
+ dev-python/pytest-django[${PYTHON_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
diff --git a/dev-python/django-activity-stream/metadata.xml b/dev-python/django-activity-stream/metadata.xml
new file mode 100644
index 0000000..94f6fec
--- /dev/null
+++ b/dev-python/django-activity-stream/metadata.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Julien Roy</name>
+ <email>julien@jroy.ca</email>
+ </maintainer>
+ <longdescription>
+Django Activity Stream is a way of creating activities generated by the actions on your site.
+
+It is designed for generating and displaying streams of interesting actions and can handle following and unfollowing of different activity sources. For example, it could be used to emulate the Github dashboard in which a user sees changes to projects they are watching and the actions of users they are following.
+
+Action events are categorized by four main components.
+
+ Actor. The object that performed the activity.
+
+ Verb. The verb phrase that identifies the action of the activity.
+
+ Action Object. (Optional) The object linked to the action itself.
+
+ Target. (Optional) The object to which the activity was performed.
+
+Actor, Action Object and Target are GenericForeignKeys to any arbitrary Django object and so can represent any Django model in your project. An action is a description of an action that was performed (Verb) at some instant in time by some Actor on some optional Target that results in an Action Object getting created/updated/deleted.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <name>Justin Quick</name>
+ <email>justquick@gmail.com</email>
+ </maintainer>
+ <maintainer>
+ <name>Asif Saif Uddin</name>
+ <email>auvipy@gmail.com</email>
+ </maintainer>
+ <bugs-to>https://github.com/justquick/django-activity-stream/issues</bugs-to>
+ <changelog>https://github.com/justquick/django-activity-stream/releases</changelog>
+ <doc>http://django-activity-stream.rtfd.io/en/latest/</doc>
+ <remote-id type="pypi">django-activity-stream</remote-id>
+ <remote-id type="github">justquick/django-activity-stream</remote-id>
+ </upstream>
+</pkgmetadata>