1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name fdroidserver |
---|
8 | version 0.4.0 |
---|
9 | revision 0 |
---|
10 | categories devel net |
---|
11 | maintainers eds.org:hans |
---|
12 | license Affero GPL-3+ |
---|
13 | |
---|
14 | description Tools for creating and managing Android app repositories for F-Droid |
---|
15 | long_description \ |
---|
16 | F-Droid is an app store of FOSS \(Free and Open Source Software\) \ |
---|
17 | applications for the Android platform. The F-Droid server tools \ |
---|
18 | provide various scripts and tools that are used to maintain the \ |
---|
19 | main F-Droid application repository. You can use these same \ |
---|
20 | tools to create your own additional or alternative repository \ |
---|
21 | for publishing, or to assist in creating, testing and submitting \ |
---|
22 | metadata to the main repository. |
---|
23 | |
---|
24 | homepage https://f-droid.org |
---|
25 | platforms darwin |
---|
26 | master_sites https://pypi.python.org/packages/source/f/fdroidserver/ |
---|
27 | distname fdroidserver-${version} |
---|
28 | |
---|
29 | checksums md5 b98635817b6305353beb7ebf639be3d3 \ |
---|
30 | rmd160 e0b6a91a3ed8692d61835e6e6b6ee0f2c3435662 \ |
---|
31 | sha256 89742f2e03e082c9d185835dbb4f166dade19a0e257b247a6e0bca3b4fd9b523 |
---|
32 | |
---|
33 | python.default_version 27 |
---|
34 | |
---|
35 | # TODO: package pyasn1_modules |
---|
36 | |
---|
37 | depends_lib port:libmagic \ |
---|
38 | port:libyaml \ |
---|
39 | port:py${python.version}-asn1 \ |
---|
40 | port:py${python.version}-asn1-modules \ |
---|
41 | port:py${python.version}-libcloud \ |
---|
42 | port:py${python.version}-magic \ |
---|
43 | port:py${python.version}-paramiko \ |
---|
44 | port:py${python.version}-Pillow \ |
---|
45 | port:py${python.version}-requests \ |
---|
46 | port:py${python.version}-setuptools \ |
---|
47 | port:py${python.version}-yaml |
---|
48 | |
---|
49 | post-destroot { |
---|
50 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
51 | xinstall -m 644 -W ${worksrcpath} \ |
---|
52 | README.md \ |
---|
53 | ${destroot}${prefix}/share/doc/${name}/ |
---|
54 | # hmm.. something is creating this dir, but its empty, so just remove it |
---|
55 | file delete ${destroot}${prefix}/share/doc/${name}/examples |
---|
56 | ln -s ${python.prefix}/share/doc/${name}/examples \ |
---|
57 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
58 | } |
---|
59 | |
---|
60 | livecheck.type regex |
---|
61 | livecheck.url https://pypi.python.org/pypi/fdroidserver/ |
---|
62 | livecheck.regex fdroidserver/(\\d+(\\.\\d+)+) |
---|