packages feed

cpython-3.1.2.1: cpython.cabal

name: cpython
version: 3.1.2.1
synopsis: Bindings for libpython
license: GPL-3
license-file: license.txt
author: John Millikin
maintainer: jmillikin@gmail.com
copyright: Copyright (c) John Millikin 2009-2010,
                     (c) Python Software Foundation 2001-2009.
build-type: Simple
cabal-version: >=1.6
category: Foreign
homepage: http://john-millikin.com/software/bindings/cpython/
tested-with: GHC==6.12.1
extra-source-files: hscpython-shim.h

description:
  These bindings allow Haskell code to call CPython code. It is not
  currently possible to call Haskell code from CPython, but this feature
  is planned.
  .
  Please note that this library uses a somewhat abnormal versioning scheme;
  the first two version numbers are the CPython version, the third is the
  package's major version, and the fourth is the package's minor version.
  For example, the package version 3.1.1.0 binds to CPython 3.1, and has
  a package version of (1, 0).

source-repository head
  type: bazaar
  location: http://john-millikin.com/software/bindings/cpython/

library
  ghc-options: -Wall -fno-warn-orphans
  build-depends:
      base >=4 && < 5
    , bytestring >= 0.9 && < 0.10
    , text >= 0.1 && < 0.12

  build-tools:
    c2hs >= 0.15

  exposed-modules:
    CPython
    CPython.Types
    CPython.Types.ByteArray
    CPython.Types.Bytes
    CPython.Types.Capsule
    CPython.Types.Cell
    CPython.Types.Code
    CPython.Types.Complex
    CPython.Types.Dictionary
    CPython.Types.Exception
    CPython.Types.Float
    CPython.Types.Function
    CPython.Types.InstanceMethod
    CPython.Types.Integer
    CPython.Types.Iterator
    CPython.Types.List
    CPython.Types.Method
    CPython.Types.Module
    CPython.Types.Set
    CPython.Types.Slice
    CPython.Types.Tuple
    CPython.Types.Type
    CPython.Types.Unicode
    CPython.Types.WeakReference
    CPython.Protocols.Iterator
    CPython.Protocols.Mapping
    CPython.Protocols.Number
    CPython.Protocols.Object
    CPython.Protocols.Sequence
    CPython.Constants
    CPython.Reflection
    CPython.System

  other-modules:
    CPython.Internal

  c-sources: hscpython-shim.c
  include-dirs: .

  pkgconfig-depends: python-3.1