/
Portfile
39 lines (30 loc) · 1.52 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- 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-analytics-python
version 1.4.0
revision 0
categories-append devel math
license MIT
supported_archs noarch
platforms {darwin any}
python.versions 38 39 310
maintainers nomaintainer
description Integrate analytics into any python application.
long_description Segment is the simplest way to integrate analytics \
into your application. One API allows you to turn \
on any other analytics service.
homepage https://github.com/segmentio/analytics-python
checksums rmd160 a0e20dd9bf58e4b844a1bf76f8b7ce873314259b \
sha256 a65141ab6e47db396f5bc5708b1db93ff9a99882d81fe808228afd5ebb6dfe5f \
size 14552
if {${name} ne ${subport}} {
# diff -NaurdwB ./py-analytics-python-orig/setup.py ./py-analytics-python-new/setup.py | sed -E -e 's/\.\/py-analytics-python-(orig|new)\//.\//' | sed -E -e 's|/opt/local|@@PREFIX@@|g' > ~/Downloads/patch-setup_py.diff
patchfiles-append \
patch-setup_py.diff
depends_run-append \
port:py${python.version}-backoff \
port:py${python.version}-dateutil \
port:py${python.version}-monotonic \
port:py${python.version}-requests
}