pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add Hypatia via Brian Callahan bcallah%devio.us@localhost
Module Name: pkgsrc-wip
Committed By: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
Pushed By: sevan
Date: Sun Nov 8 02:17:11 2015 +0000
Changeset: 1ed5697c5e72fff9b79600bb6354b261f39bfd77
Added Files:
hypatia/DESCR
hypatia/Makefile
hypatia/PLIST
hypatia/distinfo
hypatia/files/hypatia-demo
hypatia/patches/patch-setup_py
Log Message:
Add Hypatia
via Brian Callahan bcallah%devio.us@localhost
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ed5697c5e72fff9b79600bb6354b261f39bfd77
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
hypatia/DESCR | 4 +++
hypatia/Makefile | 37 +++++++++++++++++++++++++
hypatia/PLIST | 61 ++++++++++++++++++++++++++++++++++++++++++
hypatia/distinfo | 6 +++++
hypatia/files/hypatia-demo | 4 +++
hypatia/patches/patch-setup_py | 15 +++++++++++
6 files changed, 127 insertions(+)
diffs:
diff --git a/hypatia/DESCR b/hypatia/DESCR
new file mode 100644
index 0000000..f40a08b
--- /dev/null
+++ b/hypatia/DESCR
@@ -0,0 +1,4 @@
+Hypatia is a game engine for single player 2D action adventure games.
+You can use it to make a game like Legend of Zelda: Oracle of Ages and
+Oracle of Seasons. Hypatia is aimed at non-programmers and programmers
+alike.
diff --git a/hypatia/Makefile b/hypatia/Makefile
new file mode 100644
index 0000000..8060705
--- /dev/null
+++ b/hypatia/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME= hypatia-0.3.3
+CATEGORIES= games python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hypatia-engine/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://hypatia-engine.github.io/
+COMMENT= 2D RPG game engine written in Python
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
+DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+
+USE_TOOLS+= perl
+
+post-extract:
+ @cd ${WRKSRC} && perl -pi -e 's/\r$$//' setup.py
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/hypatia-demo ${DESTDIR}${PREFIX}/bin/hypatia-demo
+ perl -pi -e "s,PREFIX,${PREFIX},g" \
+ ${DESTDIR}${PREFIX}/bin/hypatia-demo
+ perl -pi -e "s,PYTHONBIN,${PYTHONBIN},g" \
+ ${DESTDIR}${PREFIX}/bin/hypatia-demo
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/hypatia/resources
+ ${INSTALL_SCRIPT} ${WRKSRC}/demo/game.py ${DESTDIR}${PREFIX}/share/examples/hypatia
+ cd ${WRKSRC}/demo/resources && find * -type d -exec ${INSTALL_DATA_DIR} \
+ "${DESTDIR}${PREFIX}/share/examples/hypatia/resources/{}" \;
+ cd ${WRKSRC}/demo/resources && find * -type f -exec ${INSTALL_DATA} \
+ "{}" "${DESTDIR}${PREFIX}/share/examples/hypatia/resources/{}" \;
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/hypatia/PLIST b/hypatia/PLIST
new file mode 100644
index 0000000..11c58d7
--- /dev/null
+++ b/hypatia/PLIST
@@ -0,0 +1,61 @@
+@comment $NetBSD$
+bin/hypatia-demo
+${PYSITELIB}/hypatia/__init__.py
+${PYSITELIB}/hypatia/__init__.pyc
+${PYSITELIB}/hypatia/__init__.pyo
+${PYSITELIB}/hypatia/actor.py
+${PYSITELIB}/hypatia/actor.pyc
+${PYSITELIB}/hypatia/actor.pyo
+${PYSITELIB}/hypatia/animatedsprite.py
+${PYSITELIB}/hypatia/animatedsprite.pyc
+${PYSITELIB}/hypatia/animatedsprite.pyo
+${PYSITELIB}/hypatia/constants.py
+${PYSITELIB}/hypatia/constants.pyc
+${PYSITELIB}/hypatia/constants.pyo
+${PYSITELIB}/hypatia/controllers.py
+${PYSITELIB}/hypatia/controllers.pyc
+${PYSITELIB}/hypatia/controllers.pyo
+${PYSITELIB}/hypatia/dialog.py
+${PYSITELIB}/hypatia/dialog.pyc
+${PYSITELIB}/hypatia/dialog.pyo
+${PYSITELIB}/hypatia/game.py
+${PYSITELIB}/hypatia/game.pyc
+${PYSITELIB}/hypatia/game.pyo
+${PYSITELIB}/hypatia/physics.py
+${PYSITELIB}/hypatia/physics.pyc
+${PYSITELIB}/hypatia/physics.pyo
+${PYSITELIB}/hypatia/player.py
+${PYSITELIB}/hypatia/player.pyc
+${PYSITELIB}/hypatia/player.pyo
+${PYSITELIB}/hypatia/render.py
+${PYSITELIB}/hypatia/render.pyc
+${PYSITELIB}/hypatia/render.pyo
+${PYSITELIB}/hypatia/resources.py
+${PYSITELIB}/hypatia/resources.pyc
+${PYSITELIB}/hypatia/resources.pyo
+${PYSITELIB}/hypatia/sound.py
+${PYSITELIB}/hypatia/sound.pyc
+${PYSITELIB}/hypatia/sound.pyo
+${PYSITELIB}/hypatia/sprites.py
+${PYSITELIB}/hypatia/sprites.pyc
+${PYSITELIB}/hypatia/sprites.pyo
+${PYSITELIB}/hypatia/tiles.py
+${PYSITELIB}/hypatia/tiles.pyc
+${PYSITELIB}/hypatia/tiles.pyo
+${PYSITELIB}/hypatia_engine-${PKGVERSION}-py2.7.egg-info/PKG-INFO
+${PYSITELIB}/hypatia_engine-${PKGVERSION}-py2.7.egg-info/SOURCES.txt
+${PYSITELIB}/hypatia_engine-${PKGVERSION}-py2.7.egg-info/dependency_links.txt
+${PYSITELIB}/hypatia_engine-${PKGVERSION}-py2.7.egg-info/top_level.txt
+share/examples/hypatia/game.py
+share/examples/hypatia/resources/fonts/VeraMono.ttf
+share/examples/hypatia/resources/scenes/README.md
+share/examples/hypatia/resources/scenes/debug.tmx
+share/examples/hypatia/resources/scenes/debug.zip
+share/examples/hypatia/resources/scenes/tilesheet-for-tmx-example.png
+share/examples/hypatia/resources/tilesheets/debug.zip
+share/examples/hypatia/resources/tilesheets/debug/tilesheet.ini
+share/examples/hypatia/resources/tilesheets/debug/tilesheet.png
+share/examples/hypatia/resources/walkabouts/bow.zip
+share/examples/hypatia/resources/walkabouts/debug.zip
+share/examples/hypatia/resources/walkabouts/door.zip
+share/examples/hypatia/resources/walkabouts/slime.zip
diff --git a/hypatia/distinfo b/hypatia/distinfo
new file mode 100644
index 0000000..64d6a77
--- /dev/null
+++ b/hypatia/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (hypatia-0.3.3.tar.gz) = 3b5fe136537eae2352dbb2dbf1aa4f2e4f1bf071
+RMD160 (hypatia-0.3.3.tar.gz) = 5f75db333602f208d6e17fd6f5e7c05ab86442e3
+Size (hypatia-0.3.3.tar.gz) = 159784 bytes
+SHA1 (patch-setup_py) = 7baa65cfe0936870b3a07425ceb4630f34a6f99a
diff --git a/hypatia/files/hypatia-demo b/hypatia/files/hypatia-demo
new file mode 100644
index 0000000..0f4a970
--- /dev/null
+++ b/hypatia/files/hypatia-demo
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd "PREFIX/share/examples/hypatia" && \
+ exec PYTHONBIN game.py
diff --git a/hypatia/patches/patch-setup_py b/hypatia/patches/patch-setup_py
new file mode 100644
index 0000000..bbf283e
--- /dev/null
+++ b/hypatia/patches/patch-setup_py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+We don't have setuptools-markdown yet.
+
+--- setup.py.orig 2015-11-07 12:51:06.000000000 -0500
++++ setup.py 2015-11-07 12:51:55.000000000 -0500
+@@ -19,8 +19,6 @@
+ packages=['hypatia'],
+ version=__version__,
+ description='2D action adventure game engine',
+- setup_requires=['setuptools-markdown'],
+- long_description_markdown_filename='README.md',
+ author='Lillian Lemmer',
+ author_email='lillian.lynn.lemmer%gmail.com@localhost',
+ url='http://hypatia-engine.github.io/hypatia',
Home |
Main Index |
Thread Index |
Old Index