Initial packaging
David Prévot
9 years ago
0 | php-react-promise (2.0.0-1) unstable; urgency=low | |
1 | ||
2 | * Initial release | |
3 | ||
4 | -- David Prévot <taffit@debian.org> Tue, 14 Oct 2014 16:08:10 -0400 |
0 | 9 |
0 | Source: php-react-promise | |
1 | Section: php | |
2 | Priority: optional | |
3 | Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org> | |
4 | Uploaders: David Prévot <taffit@debian.org> | |
5 | Build-Depends: debhelper (>= 9), | |
6 | php-symfony-classloader, | |
7 | phpunit, | |
8 | pkg-php-tools (>= 1.7~) | |
9 | Standards-Version: 3.9.6 | |
10 | Homepage: https://github.com/reactphp/promise | |
11 | Vcs-Git: git://anonscm.debian.org/pkg-php/php-react-promise.git | |
12 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-php/php-react-promise.git | |
13 | ||
14 | Package: php-react-promise | |
15 | Architecture: all | |
16 | Depends: ${misc:Depends}, ${phpcomposer:Debian-require} | |
17 | Suggests: ${phpcomposer:Debian-suggest} | |
18 | Replaces: ${phpcomposer:Debian-replace} | |
19 | Breaks: ${phpcomposer:Debian-conflict}, ${phpcomposer:Debian-replace} | |
20 | Provides: ${phpcomposer:Debian-provide} | |
21 | Description: lightweight implementation of CommonJS Promises/A for PHP | |
22 | React/Promise provides several useful promise-related concepts, such as | |
23 | joining multiple promises and mapping and reducing collections of promises. |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: React/Promise | |
2 | Upstream-Contact: Jan Sorgalla <jsorgalla@googlemail.com> | |
3 | Source: https://github.com/reactphp/promise#concepts | |
4 | ||
5 | Files: * | |
6 | Copyright: 2012, Jan Sorgalla <jsorgalla@googlemail.com> | |
7 | License: Expat | |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
9 | of this software and associated documentation files (the "Software"), to deal | |
10 | in the Software without restriction, including without limitation the rights | |
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
12 | copies of the Software, and to permit persons to whom the Software is | |
13 | furnished to do so, subject to the following conditions: | |
14 | . | |
15 | The above copyright notice and this permission notice shall be included in | |
16 | all copies or substantial portions of the Software. | |
17 | . | |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
21 | THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
23 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
24 | DEALINGS IN THE SOFTWARE. |
0 | src/* usr/share/php |
0 | From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org> | |
1 | Date: Mon, 13 Oct 2014 21:22:44 -0400 | |
2 | Subject: Use home made autoload | |
3 | ||
4 | Forwarded: not-needed | |
5 | --- | |
6 | tests/bootstrap.php | 1 - | |
7 | vendor/autoload.php | 11 +++++++++++ | |
8 | 2 files changed, 11 insertions(+), 1 deletion(-) | |
9 | create mode 100644 vendor/autoload.php | |
10 | ||
11 | diff --git a/tests/bootstrap.php b/tests/bootstrap.php | |
12 | index e233335..b27d9e5 100644 | |
13 | --- a/tests/bootstrap.php | |
14 | +++ b/tests/bootstrap.php | |
15 | @@ -1,4 +1,3 @@ | |
16 | <?php | |
17 | ||
18 | $loader = require __DIR__.'/../vendor/autoload.php'; | |
19 | -$loader->add('React\Promise', __DIR__); | |
20 | diff --git a/vendor/autoload.php b/vendor/autoload.php | |
21 | new file mode 100644 | |
22 | index 0000000..1b2aa70 | |
23 | --- /dev/null | |
24 | +++ b/vendor/autoload.php | |
25 | @@ -0,0 +1,11 @@ | |
26 | +<?php | |
27 | +require_once 'Symfony/Component/ClassLoader/ClassLoader.php'; | |
28 | +use Symfony\Component\ClassLoader\ClassLoader; | |
29 | +$loader = new ClassLoader(); | |
30 | +$loader->setUseIncludePath(true); | |
31 | +$loader->register(); | |
32 | +$loader->addPrefixes(array( | |
33 | +// 'React\\Promise' => __DIR__.'/../src', | |
34 | + 'React\\Promise' => __DIR__.'/../tests', | |
35 | +)); | |
36 | +require_once __DIR__.'/../src/React/Promise/functions.php'; |
0 | From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org> | |
1 | Date: Tue, 14 Oct 2014 14:47:58 -0400 | |
2 | Subject: Add class in path | |
3 | MIME-Version: 1.0 | |
4 | Content-Type: text/plain; charset="utf-8" | |
5 | Content-Transfer-Encoding: 8bit | |
6 | ||
7 | The tests share the same namespace, so they can’t be declared both in | |
8 | the ClassLoader. | |
9 | --- | |
10 | React | 1 + | |
11 | 1 file changed, 1 insertion(+) | |
12 | create mode 120000 React | |
13 | ||
14 | diff --git a/React b/React | |
15 | new file mode 120000 | |
16 | index 0000000..55b0bfa | |
17 | --- /dev/null | |
18 | +++ b/React | |
19 | @@ -0,0 +1 @@ | |
20 | +src/React | |
21 | \ No newline at end of file |
0 | #!/usr/bin/make -f | |
1 | %: | |
2 | dh $@ --with phpcomposer | |
3 | ||
4 | override_dh_auto_test: | |
5 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) | |
6 | phpunit | |
7 | else | |
8 | @echo "** tests disabled" | |
9 | endif | |
10 | ||
11 | get-orig-source: | |
12 | uscan --verbose --force --rename |
0 | 3.0 (quilt) |