Bug 227624 - [PATCH] www/py-httmock: support poudriere BUILD_AS_NON_ROOT and enable NO_ARCH
Summary: [PATCH] www/py-httmock: support poudriere BUILD_AS_NON_ROOT and enable NO_ARCH
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL: http://package19.nyi.freebsd.org/data...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-18 22:53 UTC by Derek Schrock
Modified: 2018-06-17 03:26 UTC (History)
1 user (show)

See Also:


Attachments
Use cp and no_arch port (1.02 KB, patch)
2018-04-18 22:53 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff
testport with BUILD_AS_NON_ROOT enabled (24.48 KB, text/plain)
2018-04-18 22:53 UTC, Derek Schrock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2018-04-18 22:53:18 UTC
Created attachment 192631 [details]
Use cp and no_arch port

Due to this build failure www/py-httmock should use ${CP} instead of ${MV} to get tests.py in the pypi extract.

Also, NO_ARCH to fix this warning.

...
pkg-static: DEVELOPER_MODE: Notice: arch "FreeBSD:11:amd64" -- no architecture specific files found:
**** could this package use a wildcard architecture?
...
Comment 1 Derek Schrock 2018-04-18 22:53:54 UTC
Created attachment 192632 [details]
testport with BUILD_AS_NON_ROOT enabled
Comment 2 Derek Schrock 2018-06-02 22:09:48 UTC
Anything blocking this bug?  If so please let me know such that it can be committed to head.
Comment 3 Derek Schrock 2018-06-17 01:24:32 UTC
ping?
Comment 4 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-17 03:24:34 UTC
(In reply to Derek Schrock from comment #3)
Pong. I will commit this.
Comment 5 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-17 03:26:23 UTC
Committed. Thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-06-17 03:26:35 UTC
A commit references this bug:

Author: tobik
Date: Sun Jun 17 03:25:32 UTC 2018
New revision: 472592
URL: https://svnweb.freebsd.org/changeset/ports/472592

Log:
  www/py-httmock: Fix build as user

  mv: rename /portdistfiles/py-httmock/tests.py to /wrkdirs/usr/ports/www/py-httmock/work-py27/httmock-1.2.6/tests.py: Permission denied

  - While here add NO_ARCH

  PR:		227624
  Submitted by:	maintainer

Changes:
  head/www/py-httmock/Makefile