Import mnemosyne-1.0

The Mnemosyne Project has two aspects:
 * It's a sophisticated free flash-card tool which optimises your
   learning process.
 * It's a research project into the nature of long-term memory.
[...]


ok simon@
This commit is contained in:
ajacoutot 2008-01-16 08:32:47 +00:00
parent 733be6087a
commit 56e2d466a5
5 changed files with 182 additions and 0 deletions

46
games/mnemosyne/Makefile Normal file
View File

@ -0,0 +1,46 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/16 08:32:47 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= flash-card tool which optimises your learning process
DISTNAME= mnemosyne-1.0
CATEGORIES= games education
EXTRACT_SUFX= .tgz
HOMEPAGE= http://mnemosyne-proj.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mnemosyne-proj/}
MODULES= lang/python
RUN_DEPENDS= ::x11/py-qt3 \
:python-bz2-*:lang/python/${MODPY_VERSION},-bz2 \
::devel/pygame \
::textproc/py-xml \
:desktop-file-utils-*:devel/desktop-file-utils
NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/mnemosyne/pyqt_ui/mnemosyne
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/mnemosyne.desktop \
${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/pixmaps/mnemosyne.png \
${PREFIX}/share/pixmaps
.include <bsd.port.mk>

5
games/mnemosyne/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (mnemosyne-1.0.tgz) = qokZj/g3Yv0vO5uYiBF10A==
RMD160 (mnemosyne-1.0.tgz) = q0kC99tGnYkmWzrdZl/STuQoODI=
SHA1 (mnemosyne-1.0.tgz) = jiGG1ZsQAmE++3TOpPcsaL43KVw=
SHA256 (mnemosyne-1.0.tgz) = fK7YByiw9ahalqFbxiT8v48Wk/zojUx0c/+HJYwF6Rc=
SIZE (mnemosyne-1.0.tgz) = 346644

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2008/01/16 08:32:47 ajacoutot Exp $
--- setup.py.orig Tue Jan 15 12:56:00 2008
+++ setup.py Tue Jan 15 12:56:28 2008
@@ -147,8 +147,7 @@ if sys.platform == "win32": # For py2exe.
else:
base_path = os.path.join(sys.exec_prefix, "lib", "python"+sys.version[:3],
"site-packages","mnemosyne")
- data_files = [('/usr/share/applications', ['mnemosyne.desktop']),
- ('/usr/share/icons', ['pixmaps/mnemosyne.png'])]
+ data_files = None
pixmap_path = os.path.join(base_path, "pixmaps")
util_path = os.path.join(base_path, "util")

19
games/mnemosyne/pkg/DESCR Normal file
View File

@ -0,0 +1,19 @@
The Mnemosyne Project has two aspects:
* It's a sophisticated free flash-card tool which optimises your
learning process.
* It's a research project into the nature of long-term memory.
The Mnemosyne software resembles a traditional flash-card program to
help you memorise question/answer pairs, but with an important twist:
it uses a sophisticated algorithm to schedule the best time for a card
to come up for review. Difficult cards that you tend to forget quickly
will be scheduled more often, while Mnemosyne won't waste your time on
things you remember well.
While you use the software, detailed statistics can be kept on your
learning process. If you want, these logs can be uploaded in a
transparent and anonymous way to a central server for analysis.
This data will be valuable to study the behaviour of our memory over a
very long time period. As an additional benefit, the results will be
used to improve the scheduling algorithms behind the software even
further.

99
games/mnemosyne/pkg/PLIST Normal file
View File

@ -0,0 +1,99 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/16 08:32:47 ajacoutot Exp $
bin/mnemosyne
lib/python${MODPY_VERSION}/site-packages/mnemosyne/
lib/python${MODPY_VERSION}/site-packages/mnemosyne-1.0-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/mnemosyne/__init__.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/__init__.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/exceptions.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/mnemosyne_core.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/mnemosyne_core.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/mnemosyne_log.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/core/mnemosyne_log.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/__init__.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/about_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/about_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/about_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/about_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/activate_categories_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/activate_categories_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/activate_categories_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/activate_categories_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/add_items_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/add_items_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/add_items_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/add_items_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/change_category_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/change_category_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/change_category_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/change_category_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/clean_duplicates.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/clean_duplicates.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/config_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/config_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/config_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/config_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_item_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_item_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_item_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_item_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_items_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_items_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_items_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/edit_items_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/export_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/export_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/export_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/export_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/import_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/import_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/import_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/import_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/mnemosyne_XX.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/mnemosyne_de.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/mnemosyne_es.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/mnemosyne_nl.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/qt_de.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/locale/qt_es.qm
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/main_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/main_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/main_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/main_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/message_boxes.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/message_boxes.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/plugin.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/plugin.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/preview_item_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/preview_item_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/preview_item_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/preview_item_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/product_tour_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/product_tour_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/product_tour_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/product_tour_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/qtextedit2.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/qtextedit2.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/sound.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/sound.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/statistics_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/statistics_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/statistics_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/tip_dlg.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/tip_dlg.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/tip_frm.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/pyqt_ui/tip_frm.pyc
lib/python${MODPY_VERSION}/site-packages/mnemosyne/version.py
lib/python${MODPY_VERSION}/site-packages/mnemosyne/version.pyc
share/applications/
share/applications/mnemosyne.desktop
share/pixmaps/
share/pixmaps/mnemosyne.png
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database