# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-atomiclong
version             0.1.1
revision            0

categories-append   devel
license             MIT
maintainers         nomaintainer

description         increment numbers, atomically, in python
long_description    Sometimes you need to increment some numbers, atomically,\
                    in python. AtomicLong was born out of the need for fast\
                    thread-safe counters in python. It uses CFFI to bind GCC's\
                    Atomic Builtins. Its value is a C long which can be\
                    incremented, decremented, and set atomically. It is\
                    inspired by Java's java.util.concurrent.atomic.AtomicLong.

homepage            https://github.com/dreid/atomiclong

checksums           rmd160  aa6ea7bd708b3fcf83a7793f5284060a6ee52db8 \
                    sha256  cb1378c4cd676d6f243641c50e277504abf45f70f1ea76e446efcdbb69624bbe \
                    size    5057

python.versions     39

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-cffi
}