GithubHelp home page GithubHelp logo

pysdl2-feedstock's Introduction

About pysdl2-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/marcusva/py-sdl2

Package license: CC0-1.0

Summary: A wrapper around the SDL2 library

Development: https://bitbucket.org/marcusva/py-sdl2

Documentation: https://pysdl2.readthedocs.io

PySDL2 is a wrapper around the SDL2 library and as such similar to the discontinued PySDL project. In contrast to PySDL, it has no licensing restrictions, nor does it rely on C code, but uses ctypes instead.

Current build status

Azure
VariantStatus
linux_64_numpy1.22python3.10.____cpythonpython_implcpython variant
linux_64_numpy1.22python3.8.____cpythonpython_implcpython variant
linux_64_numpy1.22python3.9.____73_pypypython_implpypy variant
linux_64_numpy1.22python3.9.____cpythonpython_implcpython variant
linux_64_numpy1.23python3.11.____cpythonpython_implcpython variant
osx_64_numpy1.22python3.10.____cpythonpython_implcpython variant
osx_64_numpy1.22python3.8.____cpythonpython_implcpython variant
osx_64_numpy1.22python3.9.____73_pypypython_implpypy variant
osx_64_numpy1.22python3.9.____cpythonpython_implcpython variant
osx_64_numpy1.23python3.11.____cpythonpython_implcpython variant
osx_arm64_numpy1.22python3.10.____cpython variant
osx_arm64_numpy1.22python3.8.____cpython variant
osx_arm64_numpy1.22python3.9.____cpython variant
osx_arm64_numpy1.23python3.11.____cpython variant
win_64_numpy1.22python3.10.____cpythonpython_implcpython variant
win_64_numpy1.22python3.8.____cpythonpython_implcpython variant
win_64_numpy1.22python3.9.____73_pypypython_implpypy variant
win_64_numpy1.22python3.9.____cpythonpython_implcpython variant
win_64_numpy1.23python3.11.____cpythonpython_implcpython variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing pysdl2

Installing pysdl2 from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, pysdl2 can be installed with conda:

conda install pysdl2

or with mamba:

mamba install pysdl2

It is possible to list all of the versions of pysdl2 available on your platform with conda:

conda search pysdl2 --channel conda-forge

or with mamba:

mamba search pysdl2 --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search pysdl2 --channel conda-forge

# List packages depending on `pysdl2`:
mamba repoquery whoneeds pysdl2 --channel conda-forge

# List dependencies of `pysdl2`:
mamba repoquery depends pysdl2 --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating pysdl2-feedstock

If you would like to improve the pysdl2 recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/pysdl2-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

pysdl2-feedstock's People

Contributors

a-hurst avatar conda-forge-admin avatar conda-forge-curator[bot] avatar dschreij avatar ocefpaf avatar regro-cf-autotick-bot avatar tobias-fischer avatar xhochy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pysdl2-feedstock's Issues

Upgrade to PySDL2 0.9.6 for Python 3.6 support

I've been using 0.9.6 directly from PyPI, specifically for its Python 3.6 support. It would be nice if this recipe was updated to reflect that. As far as I can tell, it should just be a matter of updating the PyPI URL and MD5 hash. I don't have experience building things directly from Conda recipes, but if you'd prefer, I can try to make this change myself and send a PR.

sdl2path.patch causing CIs to fail: can I help?

Hi there,

I'm the current maintainer of the PySDL2 project and just noticed that it's also got its own Conda package. I had no idea!

However, I just look a look at the automatic PRs to update to the latest PySDl2 release and noticed they're failing: apparently I changed something upstream, and now your patch to make PySDL2 use Conda's SDL2 is broken. Is there anything I can do on my end to help? Ideally I'd be able to tweak things upstream so the next release is properly Conda-compatible without any patches. All I'd need to understand is where Conda stores the SDL2 binaries, and whether there's a reliable programmatic way to get that path.

Cheers,

  • Austin

SDLError: b'No available video device' on init

Issue:

pysdl2 breaks with latest sdl2 (2.0.9) in the following way (but works with 2.0.8):

$ conda create -n sdl2 pysdl2
$ conda activate sdl2
$ python

>>> import sdl2.ext
>>> sdl2.ext.init()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kai/miniconda/envs/sdl2/lib/python3.7/site-packages/sdl2/ext/common.py", line 44, in init
    raise SDLError()
sdl2.ext.common.SDLError: b'No available video device'

Environment (conda list):
$ conda list
# packages in environment at /home/kai/miniconda/envs/sdl2:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.6             h14c3975_1002    conda-forge
ca-certificates           2019.3.9             hecc5488_0    conda-forge
certifi                   2019.3.9                 py37_0    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 8.2.0                hdf63c60_1    defaults
libstdcxx-ng              8.2.0                hdf63c60_1    defaults
libxcb                    1.13              h14c3975_1002    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
openssl                   1.1.1b               h14c3975_1    conda-forge
pip                       19.1                     py37_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
pysdl2                    0.9.6                 py37_1002    conda-forge
python                    3.7.3                h5b0a415_0    conda-forge
readline                  7.0               hf8c457e_1001    conda-forge
sdl2                      2.0.9                he1b5a44_1    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
sqlite                    3.26.0            h67949de_1001    conda-forge
tk                        8.6.9             h84994c4_1001    conda-forge
wheel                     0.33.1                   py37_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libx11               1.6.7             h14c3975_1000    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
zlib                      1.2.11            h14c3975_1004    conda-forge

Details about conda and system ( conda info ):
$ conda info

XRef: conda-forge/sdl2-feedstock#13
XRef2: vispy/vispy#1634

ping: @djhoese @larsoner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.